Complete SEO Tutorial for Blogspot Post-04:
Sitemap of a blog helps search crawlers to crawl the entire blog properly. It helps to increase our blog crawling and indexing. Previously, I have shared a tutorial about How To Submit Blogger Sitemap To Google Webmaster Tools. That sitemap is in .XML format which we use to submit in Google Webmaster Tool which is only for search engines so that they can index all of our blog posts. Today in this tutorial I am going to share a trick by which you can create a HTML sitemap for your blog readers so that they can easily select a post to read. If you use HTML sitemap in your blog wisely then you can increase your blog page rank also. You can show all of your blog posts at single sitemap page or you can use sitemap for particular label. Whatever your need is, this tutorial will help you. So, let see how to add a sitemap page in blogger. for site map for all pages. copy this code.
------------------------------------------------------------------------------------------------------------------->
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(‘
’);
document.write(posttitle);}
if (standardstyling) document.write(‘
’);
}
------------------------------------------------------------------------------------------------------------------->
Plz change red color line. replace it with yours.
paste it on Admin PAges, NEw page, HTML and paste. publish.
SEO-6 |
ABOUT ME
Hi all. This is My Frist Blog. We're providing content for Bold site and we’ve been in internet, social media and affiliate for too long time and its my profession. We are web designer & developer living Bangladesh! What can I say, we are the best..
0 comments :
Post a Comment