For Gold, Peace, and Freedom


Blogger Tutorial: How to Add a Sitemap for Blogspot Blogs

December 15th, 2008

blogger-blogspot-logo.jpgLast month one of my commenters asked a question about how to add a sitemap to Blogger blogs. At the time I was not sure of the answer but earlier today I managed to figure it out and have successfully submitted a sitemap to Google for one of my Blogspot blogs. It was actually quite simple and took me less than 5 minutes. Here is a step-by-step tutorial:

1. Before submitting a sitemap page to Google, you will first need to verify your site with Webmaster Tools in order to prove that you actually own the blog. To begin this process, sign into your Google account and click on the Webmaster Tools link that appears on the first screen after logging in. Currently this can be found near the bottom right corner of the list.

2. If you have clicked the correct link, you should arrive at the Webmaster Tools Dashboard page. From here, you can find a rectangular box directly underneath the word “Dashboard”. Click once inside this box to remove the default text, enter your blog’s URL, and click the “Add Site” button to the right of the box.

3. At this point, your site name should appear in the list below the box, where Google will tell you whether or not it has already indexed any of your site’s pages. You can always verify which pages Google has indexed by simply doing a standard search with the site:yourdomain.com command. Note that there is no space after the colon and you should not include the http:// part of the URL.

Regardless of whether pages are indexed or not, you can now click on the Verify button or link, after which you will be presented with two options in the drop-down menu. The first is uploading an HTML file to your server and the second involves inserting a meta tag into your HTML. Since we are working with a Blogspot blog, we do not have access to the server and therefore cannot upload files to it, which means that the first option is unavailable to us. Fortunately, we can still use the second option because Blogger allows us to edit the HTML of our templates. Choose this option (”add a meta tag”) and Google will display a line of HTML that contains the words “meta tag” at the beginning. Copy this line of text to your clipboard.

4. Now go back to your Google account page and click “Blogger” to access your Blogger dashboard.

5. Once there, click on the “Layout” link beside the title of the blog that you need to verify.

6. Click on the “Edit HTML” link (currently the third one from the left under the Layout tab).

7. In the Edit Template box, look for the line that contains the first head tag. On most templates, it will be near the beginning of the text about seven lines from the top. Paste your meta tag line that you copied in step 3 directly below this head tag. Here is a screenshot that shows you exactly where to put it. The meta tag line is the one that is highlighted with a gray background.


As with all such changes, back up your template beforehand if you’re worried about making a mistake.

8. Click the orange “Save Template” button. You can now look at your blog if you wish, but the verification code that was inserted should not change the content or appearance of your site at all.

9. Go back to the Webmaster Tools page and click the “Verify” button. After a few seconds, Google should confirm that your site has been verified and display green check marks.

10. Now you can click on the “Sitemaps” link and look for the box that has your blog’s URL listed to the left of it and a “Submit Sitemap” button on its right. Since we’re working with a Blogspot blog, we already have a built-in sitemap that can be accessed through the blog’s default feed. If you want to look it at before submitting, you just need to add feeds/posts/default/ at the end of your blog’s URL and enter this into your browser bar. This is the Atom formatted XML site feed. In order to submit this to Google, all you need to do is take the feeds/posts/default/ part of the URL, paste it into the box, and press “Submit Sitemap”.

11. Google should display a message indicating that your sitemap submission is pending. It will usually take a few hours for Google to fully process the sitemap file, but when it does, you will be able to go back to Webmaster Tools and view some basic information on it such as the format, status, time last downloaded, and the number of individual URLs included. Now you are done and can rest assured that Google’s spiders have found your content and will display it somewhere in the search results for relevant queries.

In most cases, going through the process of submitting a sitemap to Google is not strictly necessary because this company owns the Blogger platform and tends to crawl and index new blogs in its realm automatically. However, it is still a good practice overall because it will provide an easy path for Google’s crawlers to access each page of your site from a single file instead of having to find all of your pages through separate internal links. Also, since you now know the exact URL of your feed and sitemap, you can submit it to the other search engines and expand your site’s overall reach.

Other Blogger Tutorials:

How to Remove the Blogger Navbar

How to Remove NoFollow from Blogger Comments

7 Responses to “Blogger Tutorial: How to Add a Sitemap for Blogspot Blogs”

  1. comment number 1 by: devianty

    nice tips thanks..

  2. comment number 2 by: Varun Varma

    hi , thanx for the info. i just submitted my sitemap through ur process..
    really thankful 2 u…

  3. comment number 3 by: Sarah

    I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.



  4. comment number 4 by: Umesh

    Thanks a lot, this was very useful. I successfully added my sitemap.

  5. comment number 5 by: CJ

    thanks a lot– a big help for a beginner like me.

  6. comment number 6 by: Ice9web

    thank you so much for this tutorial (^_^) it works!

  7. comment number 7 by: Just Invested

    How to add atom.xml file as sitemap?

Post Your Comments, Opinions, or Suggestions Here:


Email (optional)

Website (optional)