How To Create & Add XML Sitemap To Blogger

add xml sitemap to blogger
A XML Sitemap is a file that contains all pages of a site systematically. As a result, search engines can properly crawl the site. However, for Blogger blog, default XML sitemap file includes 26 recent blog posts only. So there is a big chance for other blog posts not to get indexed quickly and properly. But here is a solution for you and you can list all blog posts to the sitemap. You can use the technique to the Blogger blogs with subdomain (yourblog.blogspot.com) and also blogs with custom domain (yourblog.com).

A. How To Generate XML Sitemap To Blogger Blogspot

   This is the step A and after completing the step, you must follow step B.

1. Go to the Sitemap generator website,

2. Write your blog address including http://

3. Press Generate Sitemap

Your XML sitemap has been created. In the sitemap,

“User-agent: *” meansallowing all search engine robots to crawl your blog posts.

“Disallow: /search” means - you don’t allow search engine spiders to crawl labels (category) which could be more than one for a single post.

B. How To Add Sitemap (robots.txt file) In Blogger

1. Go to Blogger Dashboard


2. Click Settings (left side)

3. Then click Search Preferences
       
add robots txt to blogger


4. Under Crawlers and Indexing, click Edit Custom robots.txt

5. Tick Yes to enable the Custom Robot.txt

6. Copy paste the previously created XML sitemap from step A

7. Press Save Changes


Done!

Got More Than 500 Posts? No Problem
If your blog has more than 500 posts, you will have to put more sitemaps. For example-

From 501 to 1000 posts /atom.xml?redirect=false&start-index=501&max-results=500


From 1001 to 1500 posts /atom.xml?redirect=false&start-index=1001&max-results=500


It looks like
 
User-agent: *
Disallow: /search
Allow: /

Sitemap: http://example.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=500
Sitemap:http://example.blogspot.com/atom.xml?redirect=false&start-index=501&max-results=500
Sitemap:http://example.blogspot.com/atom.xml?redirect=false&start-index=1001&max-results=500

You should submit each sitemap to Google Webmaster Tool separately.

Check Your Robots.txt File
You can check your blog’s robots.txt file by adjoining “/robots.txt” at the end of your blog URL in the browser. For example

http://www.example.com/robots.txt


Final Words
Robots.txt file is very crucial for any blogger. When search engine spiders come to your blog, at first, they look for the robots.txt file. It tells search engine robots/crawlers/spiders whether they crawl certain section or not.

0 comments:

Post a Comment