CuDemVN.Wap.Sh



![]() | ![]() ![]() ![]() |
Mình xin hướng dẫn các b tạo sitemap.xml tự động update cho fl tiax.
b1.
import code

b2. tạo file sitemap.xml ,định dạng HTML, ngang hàng index
xóa code mà xtgem cho trước.
dán code đã import
b3. Cài đặt sitemap
: hãy thêm các biến $folder và replace theo code mẫu.
b4. import file

ngang hàng index.
b5. dán link sitemap.xml và robots.txt vào _footer
Xong.
Note:
Nếu b dùng nhiều list
hay có thư mục _xtgem_data2 3 4...
hãy tạo thêm file sitemap2.xml ...
cài đặt sitemap phù hợp.
dán:
Sitemap: /sitemap2.xml
...
thêm vào file robots.txt
Chúc SEO nhanh nhá,
nhớ đưa link sitemap.xml và robots.txt lên google:

Note: tắt _header và _footer của sitemap.xml nhá
Nguồn: tiaxgame -

↓ Tập tin Đính kèm ↓

Đánh giá: 4.5/ 5, 614 bình chọn
