Jumat, 17 September 2010

SiteProNews


How to Build a Google Sitemap

Posted: 15 Sep 2010 10:00 PM PDT

googlelogoGoogle has implemented a cutting edge method of crawling web sites for its search engine index. This unprecedented method of indexing web pages is known as Google Sitemaps, and it is quickly growing in popularity among webmasters and SEO agents and managers due to its ability to get an entire web site indexed quickly and to pick up errors in the links coming into and out of a web site.

Google Sitemaps consists of placing the URLs of your pages along with important information regarding how Google should index them into an XML document. This information is then read by the Google Spider and the pages are normally indexed quite quickly, assuming that they are coherent to Google’s standards for indexing pages (and also assuming that the sitemaps conform to Google’s Sitemap Criteria which will be explained a little later).

There are two primary types of Google Sitemaps. The first is a list of pages in a website and the second is a list of sitemaps in the website. Google has limited the number of URLs in its sitemaps to fifty thousand URLs. This may sound like a lot, but for some of the more intricate web sites, fifty thousand URLs may not even make a dent in what they want indexed.

This led to the advent of the Google Sitemap index file which can index up to one thousand sitemaps. If you do the math, this means that you could have one thousand sitemaps with up to fifty thousand URLs in each sitemap which allows for fifty million URLs to be placed in your Google Sitemap scheme. But wait, there’s more. Who ever said that you can’t have an index of indexes? You could actually make an index of a thousand index files which are all indexes of a thousand index files. Basically, there is no limit to the number of URLs that you can hold in your Google sitemaps.

Now that you understand the power of the Google Sitemap you’re probably asking yourself how to create and implement a Google Sitemap. The first step is to simply create your sitemaps. Here are the templates which are also available at http://www.google.com/webmasters/sitemaps/ .

For a sitemap file use the following format:

<?xml version=”1.0″ encoding=”UTF-8″?>

<urlset xmlns=”http://www.google.com/schemas/sitemap/0.84″>

<url>

<loc>http://www.example.com/</loc>

<lastmod>2005-01-01</lastmod>

<changefreq>monthly</changefreq>

<priority>0.8</priority>

</url>

<url>

<loc>http://www.example.com/catalog?item=12&desc=vacation_haw
aii</loc>

<changefreq>weekly</changefreq>

</url>

<url<

<loc>http://www.example.com/catalog?item=73&desc=vacation_new
_zealand</loc>

<lastmod>2004-12-23</lastmod>

<changefreq>weekly</changefreq>

</url>

<url>

<loc>http://www.example.com/catalog?item=74&desc=vacation_new
foundland</loc>

<lastmod>2004-12-23T18:00:15+00:00</lastmod>

<priority>0.3</priority>

</url>

<url>

<loc>http://www.example.com/catalog?item=83&desc=vacation_usa
</loc>

<lastmod>2004-11-23</lastmod>

</url>

</urlset>

Everything here is pretty self-explanatory with the exception of the changefreq and the priority aspects. The changefreq asks how often you think the page will change on average. The possible values for the changefreq option are: always, hourly, daily, weekly, monthly, yearly, and never. The priority aspect basically just asks how important the particular page is in your website. The value can be anywhere between 0.0 and 1.0. If you decide not to specify a priority it will default to 0.5.

To create a sitemap index file follow the following format:

<?xml version=”1.0″ encoding=”UTF-8″?>

<sitemapindex
xmlns=”http://www.google.com/schemas/sitemap/0.84″>

<sitemap>

<loc>http://www.example.com/sitemap1.xml.gz</loc>

<lastmod>2004-10-01T18:23:17+00:00</lastmod>

</sitemap>

<sitemap>

<loc>http://www.example.com/sitemap2.xml.gz</loc>

<lastmod>2005-01-01</lastmod>

</sitemap>

</sitemapindex>

This is all pretty straight forward but it leads me to my next point. You notice that the file names all end in .gz. Google allows you to compress your sitemaps so that they take up less of your disk space when you place them on your site and less of your bandwidth when Google downloads them (which it seems to do approximately once every 9 hours or so). You may only use .gz compression. If you try .zip, it won’t work.

Now all that you really have to do is submit your sitemap to Google. In order to do this you must go to https://www.google.com/webmasters/sitemaps/login and log into your Google account. If you don’t have a Google account, you can create one. Once you log in you will be allowed to submit your sitemap into the Google index. At some point within about 24 hours of your submission, Google will give you the option to place a small HTML file onto your website so that it can confirm that you do, indeed, have access to editing the site. Once you have done this it will begin to provide you with statistics regarding your Google sitemap. (Note that even without this feature you can see when Google downloaded the sitemap last and what the status of the sitemap was at that time.)

How Google Sitemaps Fits Into Search Engine Optimization.

According to Google, the Sitemaps utility is free and will continue to be – yet it’s almost as good as the paid inclusion service offered by rival search engines. So how can you take advantage of this great service?

First of all, you should create a Google Account. Although you can still use Google Sitemaps without an account, you need one before you can use Google’s tools to check your site submissions. Once you do that and go to sitemaps.google.com, you’ll be guided through the process.

Google Sitemaps has a very helpful question and answer page that will give you the help you need – the answers to most questions people have can be found right there. Good luck!


To watch a complimentary video about growing your business online, please visit http://www.BusinessBlossom.com

Post from: SiteProNews: Webmaster News & Resources

How to Build a Google Sitemap