SEO

How To Create Sitemaps For Specific Label In Blogger

What are sitemaps ?
Sitemaps are xml files which lists the URLs of a specific website. Sitemaps are protocols which allows webmasters to inform search engines about available URLs on a site and for crawling. Hopefully sitemaps can be created for posts, pages, labels and archives on blogs. But we are going to center on how to create sitemaps for specific labels on blogger blog.

How To Create Sitemaps For Labels On Blogger Blog.

• Go to your blogger dashboard and select pages. Then click on create new page.

• Then at the left top, you’ll get to see two buttons which consist of Compose & Html. Select HTML

• Now copy and paste the code below:

<script type=”text/javascript”>var totalposts = 200;var standardstyling = true;function showrecentposts(json) {for (var a = 0; a < totalposts; a++) {var entry = json.feed.entry[a];var posttitle = entry.title.$t;var posturl;if (a == json.feed.entry.length) break;for (var b = 0; b < entry.link.length; b++) {if (entry.link[b].rel == ‘alternate’) {posturl = entry.link[b].href;postimg = entrybreak;}}posttitle = posttitle.link(posturl);if (standardstyling) document.write(‘<li>’);document.write(posttitle);}if (standardstyling) document.write(‘</li>’);}</script> <br /><ul><h3>Label</h3><script src=”https://blog-url.com//feeds/posts/default/-/label?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999“></script></ul>

Just replace the texts in red with your details.
Hint:
Label – Your Label
Blog-url – Your Blog Url
Note that if your blogger label is separated into two sentences (e.g Blogging Series), then all you need to do is to replace the space with %20 (e.g Blogging%20Series) and save.
Share your url and experience…

About the author

Alvin Uchenna

A Passionate Blogger With A Keen Eye In Helping People To Develop, Design And Monetize Their Blogs.

Leave a Comment

%d bloggers like this: