Sunday, January 10, 2010

Submitting a sitemap to google

Submitting a sitemap to google

Sitemap is a way to tell search engines about pages on your site that they might not otherwise discover. Google provides a way to submit sitemaps through Google Webmaster Tools.how to create and submit sitemap? For self hosted sites submitting sitemaps is easy but for blogspot(blogger) hosted sites there is a tweak involved. If you don’t follow this tweak; either you will end up with a WARNING and/or the maximum number of URLs submitted will be shown as 26.

So, how can you submit sitemaps for a blogger hosted blog without any warnings or errors?

Suppose you have a site called abc.blogspot.com. The sitemap for this site would be: http://dbz.blogspot.com/atom.xml?redirect=false&start-index=1&max-results=100 meaning simply append atom.xml?redirect=false&start-index=1&max-results=100 to your blog URL in Google Webmaster Tools > Sitemaps > Add Sitemap.

If you don’t include redirect=false, webmaster tools will throw warning. If you don’t include start-index=1&max-results=100, the maximum number of URLs submitted will be shown as 26, always. Remember if you have more than 100 pages on your blogspot site, you would need to include two sitemaps one having an index starting with 1 and ending with 100(start-index=1&max-results=100) and the other having an index starting with 100 and ending with 200(start-index=100&max-results=100)


New sitemap code (Google spider crawls the first 100 blog post)

1) atom.xml?redirect=false&start-index=1&max-results=100

So in the new sitemap code above, we start with the very first blog post (start-index=1) & now allow the Google spider to crawl to page 100 (max-results=100).

If you have over 100 blog pages, what you need to do is submit additional sitemaps for the same blog at the Google Webmaster Tools website. As an example you have a Blogger blog that has over 400 pages, for that blog you should 4 sitemaps, that look like the code below.

1) atom.xml?redirect=false&start-index=1&max-results=100

2) atom.xml?redirect=false&start-index=100&max-results=100

3) atom.xml?redirect=false&start-index=200&max-results=100

4) atom.xml?redirect=false&start-index=300&max-results=100

No comments:

GOOGLE

Crack Search

Hit Counter

Sign by Dealighted - Black Friday Thanksgiving Deals