Blog(website) ke liye sitemap page bahut jarurui hai.sitemap page kya hai aur use kaise banate hai iske bare me aj apko bataunga.
Sitemap page kya hai?
Sitemap page yani archive page.hum jab bhi blog ya website me new post publish karte hai tab use post ko google search engine me lane ke liye ye page bahot jaruri hai.sitemap page se hamne jitni bhi post ki hai wo sabki ek list ban jati hai isse hamare blog me visitors ate hai wo hamari old post bhi asani she khoj skate hai.
SiteMap Page Kaise Banate Hai?
Step-1
Sabse pahle ap blogger.com pe sign in kijiye.
Step-2
Ab blogger "Dashboard" me se "PAGE" ke options ko select kare.
Step-3
Ab jo nayi window open hogi isme "NEW PAGE" pe click kijiye
Step-4
Ab ek naya page open hoga usme title me SITEMAP likhiye aur niche compose aur html me se "HTML" pe click kijiye
Step-5
Ab is page ap niche diya hua code copy karke paste kijiye
<style>
.blogger-date-archive li span{
float:right;
}
</style>
<script>
function LoadDateArchive(TotalFeed) {
var PostTitles = new Array();
var PostURLs = new Array();
var PostYears = new Array();
var PostMonths = new Array();
var PostDays = new Array();
if ("entry" in TotalFeed.feed) {
var PostEntries = TotalFeed.feed.entry.length;
for (var PostNum = 0; PostNum < PostEntries; PostNum++) {
var ThisPost = TotalFeed.feed.entry[PostNum];
PostTitles.push(ThisPost.title.$t);
PostYears.push(ThisPost.published.$t.substring(0, 4));
PostMonths.push(ThisPost.published.$t.substring(5, 7));
PostDays.push(ThisPost.published.$t.substring(8, 10));
var ThisPostURL;
for (var LinkNum = 0; LinkNum < ThisPost.link.length; LinkNum++) {
if (ThisPost.link[LinkNum].rel == "alternate") {
ThisPostURL = ThisPost.link[LinkNum].href;
break
}
}
PostURLs.push(ThisPostURL);
}
}
DisplayPostsByDate(PostTitles, PostURLs, PostYears, PostMonths, PostDays);
}
function DisplayPostsByDate(PostTitles, PostURLs, PostYears, PostMonths, PostDays) {
var MonthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var NumberOfEntries = PostTitles.length;
document.write('<ul class="blogger-date-archive">');
for (var EntryNum = 0; EntryNum < NumberOfEntries; EntryNum++) {
NameOfMonth = MonthNames[parseInt(PostMonths[EntryNum], 10) - 1]
document.write('<li><a href ="' + PostURLs[EntryNum] + '">' + PostTitles[EntryNum] + "</a> <span>" + NameOfMonth + " " + parseInt(PostDays[EntryNum], 10) + ", " + PostYears[EntryNum] + "</span></li>");
}
document.write('</ul><div class="sitemap-link"><a href="http://vikasplus.com/blogger-blog-ke-liye-sitemaparchive-page-kaise-banaye" style="font-size: 10px; text-decoration:underline; color: #A2A2A2;">Get This Widget</a></div>');
}
</script>
<script src="/feeds/posts/default?max-results=500&alt=json-in-script&callback=LoadDateArchive"></script>
.blogger-date-archive li span{
float:right;
}
</style>
<script>
function LoadDateArchive(TotalFeed) {
var PostTitles = new Array();
var PostURLs = new Array();
var PostYears = new Array();
var PostMonths = new Array();
var PostDays = new Array();
if ("entry" in TotalFeed.feed) {
var PostEntries = TotalFeed.feed.entry.length;
for (var PostNum = 0; PostNum < PostEntries; PostNum++) {
var ThisPost = TotalFeed.feed.entry[PostNum];
PostTitles.push(ThisPost.title.$t);
PostYears.push(ThisPost.published.$t.substring(0, 4));
PostMonths.push(ThisPost.published.$t.substring(5, 7));
PostDays.push(ThisPost.published.$t.substring(8, 10));
var ThisPostURL;
for (var LinkNum = 0; LinkNum < ThisPost.link.length; LinkNum++) {
if (ThisPost.link[LinkNum].rel == "alternate") {
ThisPostURL = ThisPost.link[LinkNum].href;
break
}
}
PostURLs.push(ThisPostURL);
}
}
DisplayPostsByDate(PostTitles, PostURLs, PostYears, PostMonths, PostDays);
}
function DisplayPostsByDate(PostTitles, PostURLs, PostYears, PostMonths, PostDays) {
var MonthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var NumberOfEntries = PostTitles.length;
document.write('<ul class="blogger-date-archive">');
for (var EntryNum = 0; EntryNum < NumberOfEntries; EntryNum++) {
NameOfMonth = MonthNames[parseInt(PostMonths[EntryNum], 10) - 1]
document.write('<li><a href ="' + PostURLs[EntryNum] + '">' + PostTitles[EntryNum] + "</a> <span>" + NameOfMonth + " " + parseInt(PostDays[EntryNum], 10) + ", " + PostYears[EntryNum] + "</span></li>");
}
document.write('</ul><div class="sitemap-link"><a href="http://vikasplus.com/blogger-blog-ke-liye-sitemaparchive-page-kaise-banaye" style="font-size: 10px; text-decoration:underline; color: #A2A2A2;">Get This Widget</a></div>');
}
</script>
<script src="/feeds/posts/default?max-results=500&alt=json-in-script&callback=LoadDateArchive"></script>
Step-6
Ab last me "PUBLISH" ke options me click kar dijiye.
Apka sitemap kuch is tarah se dikhega
To chaliye dosto apka sitemap page ban gya hai aur ap isko apne menu me add kar sakte ho.
Sitemap page ko google search console me kaise add karte hai wo me apko agali post me bataunga.
Agar apko ye post pasand ayi hai to ap us post ko apne dosto ko jarur share kijiye aur apko iske bare me koi confusion hai to muje comment box me comment kijiye me apki confusion dur kar dunga.