What is a HTML Sitemap?
A sitemap is a file where you provide information about the pages, posts on your site, and the relationships between them. Search engines like Google, Bing read this file to crawl your site more efficiently.
Main Question Arises here in blogger there is no permission to access that Cpanel file because hosting is controlled by google but in Blogger Settings there is an option available to set up XML sitemap.
In Google you will found the various websites to create an XML sitemap easily
In Google you will found the various websites to create an XML sitemap easily
Toady we discuss about HTML sitemap not XML sitemap.
An HTML sitemap is also a piece of code that displays blogger all posts Label wise to help the viewers understand website layout structure and their posts. We developed a simple, smart, and shortcode that you can use in your blogger website without any problems, there is no need to do coding. Let's see here how to insert a sitemap in your blogger page with help of screenshots
How to Create HTML Sitemap?
Step (a): Go to Blogger Dashboard Click on Page Section at Left Sidebar Menu after that tap on Create a New Page and copy the code that we provide below and paste it here in Page HTML Section, not in Compose Mode. After Pasting code Save and Publish Page. That's done you have successfully created a Blogger HTML Site map page. Copy the link of page and Show at Bottom of Footer menu pages.Here is the code of Blogger HTML sitemap code.
Remember to place the code in the HTML section of the page correctly.
Then save the HTML sitemap code in your blogger Dashboard.
Then save the HTML sitemap code in your blogger Dashboard.
Add this Shortcode :
<script src="https://cdn.jsdelivr.net/gh/pikitemplates/scripts/sitemap.js" type="text/javascript"></script>
<link href="https://cdn.jsdelivr.net/gh/pikitemplates/scripts/sitemap-css.css" rel="stylesheet"/>
<script src="/feeds/posts/summary?alt=json-in-script&max-results=9999&callback=pikisitemap" type="text/javascript"></script>
That's done now save the code on the blogger page. Sitemap is created
How to Create HTML Sitemap for Labels?
Step (b): Go to Blogger Dashboard Click on Page Section at Left Sidebar Menu after that tap on Create a New Page and copy the code that we provide below and paste it here in Page HTML Section, not in Compose Mode. After Pasting code Save and Publish Page.
Remember to Replace the blue Color Label with your Posts Label Correctly Lowercase and Uppercase letters should be the same (means the first letter is capital or not in Post Label check properly)
Also, remember to change the title in between h4 tags blue color text below.
That's done you have successfully created a Blogger HTML Site map page. Copy the link of page and Show at Bottom of Footer menu pages.
Add this Shortcode :
<script src="https://cdn.jsdelivr.net/gh/pikitemplates/scripts/sitemap-label.js" type="text/javascript"></script>
<link href="https://cdn.jsdelivr.net/gh/pikitemplates/scripts/sitemap-css.css" rel="stylesheet"/>
<div class="stiemap-posts">
<h4>Blogger Test</h4>
</div>
<div class="stiemap-wrap">
<script src="/feeds/posts/default/-/My Label?orderby=published&alt=json-in-script&callback=showrecentposts&max-results=999"></script>
</div>
That's done now save the code on the blogger page and you have created a Specific (means for one Label only) Label HTML Sitemap.
See the demo of HTLM site map below screenshot
Is possible to limit number of post in this sitemap ?
ReplyDeleteYes, its possible you can change the value 9999 in last line of the code
DeleteIs possible to do only for certain label of post in this sitemap ?
ReplyDeleteYes, possible you can set label in last line of the code. Kindly contact us we will help you.
Deletehow to do to set certain label of post in the last line code
ReplyDeleteWe already updated this article, please read again
Deletehow to set a certain label in sitemap can you help please
ReplyDeleteWe already updated this article, please read again
DeleteI have to create sitemap for every post or every page?
ReplyDeletei have already created for xml and html sitemaps for entire blogger.
and i need to submit every sitemap to google?
is this good if i create two sitemaps(html & xml) for entire website and not create another? Thanks in advance.
HTML is only for your viewers but XHTML is very important for your ranking in google
DeleteMaster Mr. manu and PIKITEMPLATE TEAM. Thank You very much. a bundle of thanks. Now i am happy because of PIKITEMPLATE TEAM. very attractive look on my blog. Indian jobs portal sitemap
ReplyDeleteThankyou Very Much Sir ❤️
DeleteGreat Blogger Templates sir, Thank You.
ReplyDeleteHello piki. I got an error message in google searchconsole on sitempa. Please help
ReplyDeletePlease contact us through email or social media and share screenshot?
DeleteHello, is it possible to change "New!" from English to any language?
ReplyDeleteYes, sure please contact us by whatsapp or email.
DeleteCan we show post related to a single label on a page?
ReplyDeleteYes, sure just follow step 2 above:- "How to Create HTML Sitemap for Specific Label?
Delete"
Hello piki Thank you for great post.
ReplyDeleteIt is possible that specific label sitemap can be shorted by alphabetical order.
Yes, possible but try to use label specified sitemap code
DeleteYOU ARE BEST
ReplyDeleteOh my goodness ❤️😍
DeleteH1 tag missing in my template’s main page. When I tried to put h1 tag manually, it shows too many h1 tags in blog posts.
ReplyDeletePlease share your blog details with us on email.
DeleteHello ma'am,
ReplyDeleteCan possible to show only post and pages without labels?