Thursday, March 5, 2009

How to Create a Google Site Map


Officially announced on June 6th, 2005 at Google'e Blog, Google Site Map allows you to submit a listing of all your urls for Google to crawl.

There have been many questions concerning the procedure of creating a Google Site Map. Below is the non-Python way of creating one. (Note: Google has further documentation at their site)

First, create a file named sitemap.xml

Use the following code in any HTML editor:


<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc>http://www.seoforgoogle.com/
<lastmod>2005-06-30T14:12:14+00:00
<changefreq>daily
<priority>1.0

<url>
<loc>http://www.seoforgoogle.com/glossary.cfm
<lastmod>2005-06-30T14:12:14+00:00
<changefreq>weekly
<priority>1.0




Here's a breakdown of those properties:

lastmod -
This is the date the document was last modified and uses the following formats:
dd.mm.yyyy
dd.mm.yyyy hh:mm
dd/mm/yyyy
dd/mm/yyyy hh:mm

changefreq -
Tells Google Sitemaps the frequently that content of a particular URL will change.

Your options are "always", "hourly", "daily", "weekly", "monthly", "yearly" or "never".

The value "always" should be used to describe documents that change each time they are accessed. The value "never" should be used to describe archived URLs.

priority -
The priority of a particular URL relative to other pages on your site.
You may select between 0.0 and 1.0, where 0.0 identifies the lowest priority page(s) on your website and 1.0 identifies the highest priority page(s) on your website.

Add as many pages as there are in your website.

Google Sitemap supports up to 50,000 pages per XML file.

Once you've completed all of those steps, you'll need to submit your site map page.

Submit to: (requires gmail account)

https://www.google.com/webmasters/sitemaps/login

[If you don't have a gmail account send an email requesting a gmail account and I'll give them out until I run out of invites. (ts@seoforgoogle.com)]

-To your online success!

No comments: