how to add sitemap on blogger?

Today we are going to learn about adding a sitemap to the blog,but before going to the solution of  HOW-TO? lets get to know a little about what is a sitemap & the need of a sitemap.

What is a Sitemap?

Sitemap of a blog helps the search crawlers to crawl the entire blog in a proper manner.Which is helpful to us to increase crawling
of our blog and for the indexing.Sitmaps are of two types one is the .XML(Extensible Markup Language) Sitemaps and the other one is the .HTML(Hyper Text Markup language) one.Those instructions to the sitemap are given to the crawler bots is done by a Robots text file(Robots.txt).Adding a proper sitemap to blog may increase your page rank also.

We are going to add a sitemap page to blogger.


STEP 1:- Open up your blogger account.

STEP 3:- Goto Pages>>New page>>Blank page

STEP 3:- before copying the below code in that blank page make sure to switch it to HTML.

STEP 4:- Now paste the code given down below inside the quotes.

<script type=”text/javascript”>
var numposts = 100;
var standardstyling = true;
function showrecentposts(json) {
  for (var i = 0; i < numposts; i++) {
    var entry = json.feed.entry[i];
    var posttitle = entry.title.$t;
    var posturl;
    if (i == json.feed.entry.length) break;
    for (var k = 0; k <; k++) {
      if ([k].rel == ‘alternate’) {
        posturl =[k].href;

 posttitle =;
    if (standardstyling) document.write(‘<li>’);
    if (standardstyling) document.write(‘</li>’);
<script src=”;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999″></script>

STEP 5:- I think its pretty clear that you have to replace “YOUR-URL” with your blog’s URL;)

STEP 6:- Its completed, just click Publish & there you go.


NOTE:- By applying this it will create your sitemap for all the labels.

Good luck & happy blogging.

Shravan Das

A Tech Geek who loves to write about Blogging, How-To's and topics around Android platform. He founded techulk with a sole purpose for providing visitors the exact information they need with simple and step by step working explanations.

Leave a Reply

Your email address will not be published. Required fields are marked *