You Are Here : Home » , , » How To Create Sitemap In Blogger

How To Create Sitemap In Blogger

How To Create Sitemap In Blogger


We provide you full tutorial about How To Create HTML Sitemap To Blogger because sitemap helps to improve crawl of your blog or website. It also help to increase crawling and indexing of blog or website. We also shared how to create XML site map of website in our previous tutorial. Now we give you how to create HTML sitemap for your blog readers. This sitemap help to show all links of your website on a page. You can show all your blog post and pages in single sitemap page. You can also show links form particular label.

How To Add HTML Sitemap To Blogger

If you want to show all your blog post at same page then follow below steps:




  • Log in into blogger dashboard.
  • Now Go to Pages then New page and click on blank page.
  • Switch this page to HTML mode.
  • Copy and paste below code in body.

<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 < entry.link.length; k++) {
      if (entry.link[k].rel == 'alternate') {
        posturl = entry.link[k].href;
        break;
      }}
    posttitle = posttitle.link(posturl);
    if (standardstyling) document.write('<li>');
    document.write(posttitle);}
    if (standardstyling) document.write('</li>');
}
</script>
<ul>
<script src="http://hackersthiefs.blogspot.com/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999"></script>
</ul>
Tip: Remove hackersthiefs.blogspot.com with your own url.
  • Click On Publish And You Are Done.
Want To Create Sitemap For Particular Label Than Click Here

Ads by Google
If you enjoyed reading this article then please leave a comment or subscribe to our newsletter to get all the future posts delivered to your feed reader or you email desk.

No comments:

Leave a Reply

Welcome to SpicyTweaks.

Copyright © 2013-17 SpicyTweaks. All Rights Reserved.

Scroll to top