Cách tạo sitemap cho blogspot
Bước 1: Truy cập vào trang để tạo sitemap http://ctrlq.org/blogger/. Dán đường dẫn của Blogspot vào và click Genergate Sitemap
Bước 2: Khai báo sitemap qua file Robot.txt
Cách tạo file robots txt thì mình đã hướng dẫn trong tuần trước, các bạn có thể coi lại qua đường dẫn mình kèm theo ở trước
Truy cấp vào quản trị > Cài đặt > Tùy chọn tìm kiếm >Robots.txt tùy chỉnh và dán vào như hình bên dưới
Bước 4: Vào Thu thập dữ liệu > Sơ đồ trang web > Thêm sơ đồ trang web
Bước 5: Dán đoạn mã sau vào cửa sổ popup. Trong đó 500 chính là số kết quả tối đa được google thu thập dữ liệu
atom.xml?redirect=false&start-index=1&max-results=500
Lưu ý: Đối với các Blog có hơn 500 kết quả các bạn chỉ cần thêm vào các đoạn mã sau
Sitemap: https://www.dichvuseodanang.net/atom.xml?redirect=false&start-index=501&max-results=500
Sitemap: https://www.dichvuseodanang.net/atom.xml?redirect=false&start-index=1001&max-results=500
Sitemap: https://www.dichvuseodanang.net/atom.xml?redirect=false&start-index=1501&max-results=500
Sitemap: https://www.dichvuseodanang.net/atom.xml?redirect=false&start-index=2001&max-results=500
Sitemap: https://www.dichvuseodanang.net/atom.xml?redirect=false&start-index=2501&max-results=500
Sitemap: https://www.dichvuseodanang.net/atom.xml?redirect=false&start-index=3001&max-results=500