How to create a complete sitemap for blogger blog


You know that how a sitemap is important for our site or blog. so all we need to create a sitemap that with the help of it a search engine crawl our site and index our all web page in search result. we can easily create a sitemap for our site or blog but in case of blogger here is a problem, that in default blogger sitemap ( or there are only 26 most recent post link updated and all other links will not be update in search result. so to get index all our blogger post in search result we need to enable custom "robot.txt" for our blogger blog.
So before enable custom "robot.txt" lets know something about it.

"robot.txt" guides to search engine that how to crawl a website, means what content will be crawl and what will not be.
Now lets create a sitemap for our blogger blog.

STEP 1 : Go to your Blogger dashboard and under Settings – > Search Preferences, then enable Custom robots.txt option (available in the Crawling and Indexing section) and if u have less than 500 post in blogger then simply copy and paste following code in custom "robot.txt" otherwise go to generate sitemap automatic and generate your sitemap from there and paste in your "robot.txt" then follow step 3.
User-agent: *

Disallow: /search

Allow: /

Sitemap: http://YOUR_BLOGGER_BLOG/atom.xml?redirect=false&start-index=1&max-results=500
STEP 2 : Replace YOUR_BLOGGER_BLOG with your blogger URL.

STEP 3 : Save "robot.txt" and you are done.

NOTE : If you have more than 500 post then go to generate sitemap automatic and generate your sitemap from there. don't use above code and step 2.


Blogger Template by Clairvo