|
June 23, 2009 07:53:27
Posted By Doteasy
|
|||||||||||||||
|
Sitemaps, as the name implies, are a map of your website. There are two types of sitemaps:
XML Sitemaps XML Sitemaps offer the opportunity to inform search engines about your website. Search engine crawlers usually discover pages from links within the site and from other sites. Sitemaps are particularly helpful if:
In addition, Sitemap allows webmasters to include additional information about each URL: when it was last updated, how often it changes and how important it is, relative to other URLs in the website. This allows search engines to crawl the site more intelligently. NOTE: Sitemap does not guarantee that web pages are included in search engines nor does it influence the way that web pages are ranked in search results. By submitting Sitemaps to a search engine, a webmaster is only helping the engine’s crawlers do a better job of crawling their site. Sitemap Generators You can use a sitemap generator to create your sitemap. Google has a sitemap generator for creating a sitemap for a static web site. Other sitemap generators and services: Manually Creating a Sitemap You can also manually create a Sitemap based on the Sitemap protocol. 1. Create a text file and save it with a .xml extension (ie. sitemap.xml) 2. First lines of the file: <?xml version="1.0" encoding="UTF-8"?> 3. Create an entry for each URL. The <loc> tag is required, the others are optional. <url> 4. Last line of the file: </urlset> 5. Upload the file to your server and then submit it to the search engines. Element Definitions
Guidelines and Limitations Keep in mind when creating your Sitemap file:
Submitting Your Sitemap to Search Engines There are different ways to submit your Sitemap to search engines: 1. Adding the following line to your robots.txt file Sitemap: <sitemap_location> The <sitemap_location> should be the complete URL to the Sitemap, such as http://www.yourdomain.com/sitemap.xml 2. Submitting directly to a search engine (aka. pinged)
Replace location with the complete URL to your Sitemap, such as http://www.yourdomain.com/sitemap.xml For example, http://www.google.com/webmasters/tools/ping?sitemap= http://www.yourdomain.com/sitemap.xml Additional References |




