Create Sitemap Page In Blogger & Submit To Search Engines

Sitemap related to SEO

Don’t know to Create Sitemap Page In Blogger & Submit To Search Engines

Read out the complete article to know all about sitemap for a website.

Hello friends, in this post I am going to show you Create Sitemap Page In Blogger & Submit To Search Engines

Create Sitemap Page In Blogger
Create Sitemap Page In Blogger

Before starting, check this live preview of the sitemap page.

Let’s begin.

1. What Is Sitemap?.

A sitemap is basically the collection of all your post, images, etc available on your website

Through sitemap, you can submit your website for better indexing for the search result to various search engines.

The sitemap gives an idea to the search engine about your website and all the resources available on your website.

There are different types of sitemap like Html, XML, RSS, etc.

In blogger, we generally need to create an XML sitemap.

Blogger does not have any widgets for sitemap as compared to WordPress which have a plugin called “Yoast SEO” which automatically create and update the website sitemap.

2. Why It Is Necessary To Submit Sitemap Page To Search Engines?

The sitemap is very important for a website and it is necessary to create it and submit to search engines so that the search engines crawlers can crawl your all resources.

Submit sitemap to search engines
Credit:- FCSC.ORG

Search engines get a clear idea about your site which helps in search engine optimization to rank your site well in the competition.

3. How To Create Sitemap Page in blogger?

In blogger, you will need to add sitemap script code which is available below in the steps. The sitemap which will be generated will be on the basis of the ‘Labels’ used in your blog.

To create a sitemap page in blogger, follow these steps:

  1. Log in to your Blogger blog and click on “Pages
  2. In “Pages” section, click on “Add New Page
  3. Give the title of the page as “Sitemap Page
  4. In the new page window, switch to HTML mode rather than Compose mode
  5. Clear all the code in the HTML section and paste the below code

Remember to replace the last line of the below-given code with your blog URL and then paste it in your sitemap page  

<script type='text/javascript'> var postTitle = new Array(); var postUrl = new Array(); var postPublished = new Array(); var postDate = new Array(); var postLabels = new Array(); var postRecent = new Array(); var sortBy = "titleasc"; var numberfeed = 0; function bloggersitemap(a) {     function b() {         if ("entry" in a.feed) {             var d = a.feed.entry.length;             numberfeed = d;             ii = 0;             for (var h = 0; h < d; h++) {                 var n = a.feed.entry[h];                 var e = n.title.$t;                 var m = n.published.$t.substring(0, 10);                 var j;                 for (var g = 0; g < n.link.length; g++) {                     if (n.link[g].rel == "alternate") {                         j = n.link[g].href;                         break                     }                 }                 var o = "";                 for (var g = 0; g < n.link.length; g++) {                     if (n.link[g].rel == "enclosure") {                         o = n.link[g].href;                         break                     }                 }                 var c = "";                 if ("category" in n) {                     for (var g = 0; g < n.category.length; g++) {                         c = n.category[g].term;                         var f = c.lastIndexOf(";");                         if (f != -1) {                             c = c.substring(0, f)                         }                         postLabels[ii] = c;                         postTitle[ii] = e;                         postDate[ii] = m;                         postUrl[ii] = j;                         postPublished[ii] = o;                         if (h < 10) {                             postRecent[ii] = true                         } else {                             postRecent[ii] = false                         }                         ii = ii + 1                     }                 }             }         }     }     b();     sortBy = "titledesc";     sortPosts(sortBy);     sortlabel();     displayToc(); } function sortPosts(d) {     function c(e, g) {         var f = postTitle[e];         postTitle[e] = postTitle[g];         postTitle[g] = f;         var f = postDate[e];         postDate[e] = postDate[g];         postDate[g] = f;         var f = postUrl[e];         postUrl[e] = postUrl[g];         postUrl[g] = f;         var f = postLabels[e];         postLabels[e] = postLabels[g];         postLabels[g] = f;         var f = postPublished[e];         postPublished[e] = postPublished[g];         postPublished[g] = f;         var f = postRecent[e];         postRecent[e] = postRecent[g];         postRecent[g] = f     }     for (var b = 0; b < postTitle.length - 1; b++) {         for (var a = b + 1; a < postTitle.length; a++) {             if (d == "titleasc") {                 if (postTitle[b] > postTitle[a]) {                     c(b, a)                 }             }             if (d == "titledesc") {                 if (postTitle[b] < postTitle[a]) {                     c(b, a)                 }             }             if (d == "dateoldest") {                 if (postDate[b] > postDate[a]) {                     c(b, a)                 }             }             if (d == "datenewest") {                 if (postDate[b] < postDate[a]) {                     c(b, a)                 }             }             if (d == "orderlabel") {                 if (postLabels[b] > postLabels[a]) {                     c(b, a)                 }             }         }     } } function sortlabel() {     sortBy = "orderlabel";     sortPosts(sortBy);     var a = 0;     var b = 0;     while (b < postTitle.length) {         temp1 = postLabels[b];         firsti = a;         do {             a = a + 1         } while (postLabels[a] == temp1);         b = a;         sortPosts2(firsti, a);         if (b > postTitle.length) {             break         }     } } function sortPosts2(d, c) {     function e(f, h) {         var g = postTitle[f];         postTitle[f] = postTitle[h];         postTitle[h] = g;         var g = postDate[f];         postDate[f] = postDate[h];         postDate[h] = g;         var g = postUrl[f];         postUrl[f] = postUrl[h];         postUrl[h] = g;         var g = postLabels[f];         postLabels[f] = postLabels[h];         postLabels[h] = g;         var g = postPublished[f];         postPublished[f] = postPublished[h];         postPublished[h] = g;         var g = postRecent[f];         postRecent[f] = postRecent[h];         postRecent[h] = g     }     for (var b = d; b < c - 1; b++) {         for (var a = b + 1; a < c; a++) {             if (postTitle[b] > postTitle[a]) {                 e(b, a)             }         }     } } function displayToc() {     var a = 0;     var b = 0;     while (b < postTitle.length) {         temp1 = postLabels[b];         document.write("");         document.write('<div class="post-archive"><h4>' + temp1 + '</h4><div class="ct-columns">');         firsti = a;         do {             document.write("<p>");             document.write('<a " href="' + postUrl[a] + '">' + postTitle[a] + "");             if (postRecent[a] == true) {                 document.write(' - <strong><span>New!</span></strong>')             }             document.write("</a></p>");             a = a + 1         } while (postLabels[a] == temp1);         b = a;         document.write("</div></div>");         sortPosts2(firsti, a);         if (b > postTitle.length) {             break         }     } } </script> <script src="https://yourblog.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=bloggersitemap"></script>

Once you paste the code in your sitemap page, follow these steps below:-

  1. Replace the last line code with your blog URL
  2. Go to “Options” section, and select “Don’t allow comment” in Reader comment section.
  3. Give a short description about your sitemap page for better understanding for the search engines
  4. Click on “Publish” and your sitemap page will be ready to submit.
  5. This above code will generate a simple sitemap for your blog. For live preview, click here

The above code was taken from HowBloggerz, with proper credit and a backlink is given to it.

Also Read:9 Effective Ways To Speed Up Website In 2019

4. How To Submit Your Sitemap To Search Engines Like Google?

After generating your sitemap page, it is necessary to submit a sitemap to the search engines like Google, Bing, Yahoo, etc.  

By submitting the sitemap, it helps the search engines to crawl your website more efficiently.  

To submit your blogger sitemap to search engines, follow these steps:-

  1. Open the Search Engine Webmaster tools like Google Search Console, Bing Webmaster Tools, etc.
  2. Go to the “Sitemap” option
  3. Paste this code for Blogger Sitemap
  4. “/atom.xml?redirect=false&start-index=1&max-results=500”
  5. Submit the code and search engine will automatically crawl all the resources available on your website.

Note:-    If you have a blog post less than 500, paste the above code.  

If you have a blog post more than 1000, just replace the ‘500’ in the code with ‘1000’  

So, the code will become – “/atom.xml?redirect=false&start-index=1&max-results=1000”    

Conclusion:-

Blogger is a free platform but you will have to take brief care for maintaining your blog friendly for the search engines.  

Hope you will understand the importance of creating a sitemap page and submitting the sitemap code for blogger platform to search engines like Google, Bing, etc.  

Just remember to replace the above code if you have more than 500 blog post.  

Share the post in your blogging groups and help others to create sitemap page in blogger and submit to search engines.

2 Comments

Leave a Reply

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