- Sitemap index
A Sitemap index is an XML file that lists the multiple XML sitemap files. Sitemap index is an XML sitemap for multiple XML sitemaps. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file [ [http://www.sitemaps.org/protocol.php#index Sitemaps.org official site] ] . It allows webmasters to include additional information about each XML sitemap (when it was last updated). After creation of a Sitemap index file webmasters can just notify search engines about the index file and the other XML sitemaps that are included in the Sitemap index file will be automatically notified too [ [http://www.sitemapwriter.com/faq.php#faq_sitemap_index FAQ of sitemapwriter.com] ] .
XML Sitemap index Format
The Sitemap Protocol format consists of XML tags. The file itself must be
UTF-8 encoded.ample
The following example shows a Sitemap index that lists two Sitemaps:
http://www.example.com/sitemap1.xml.gz 2004-10-01T18:23:17+00:00 http://www.example.com/sitemap2.xml.gz 2005-01-01 ubmitting Sitemaps
If Sitemaps are submitted directly to a search engine, it will return status information and any processing errors. Refer to Google Webmaster Tools or Yahoo SiteExplorer.
Also, the location of the Sitemap index can be specified using a
robots.txt file to help search engines find the Sitemap index files. To do this, the following lines need to be added to robots.txt:SiteThe
should be the complete URL to the Sitemap index, such as: " http://www.example.org/sitemap_index.xml "itemap Limits
Sitemap index files may not list more than 1,000 Sitemaps and must be no larger than 10MB (10,485,760 bytes).
The Sitemap index file must:
* Begin with an opening
tag and end with a closing tag. * Include aentry for each Sitemap as a parent XML tag. * Include a child entry for each parent tag. The optional
tag is also available for Sitemap index files. Time format for
tag The value for the lastmod tag should be in W3C Datetime format. For example, 2007-08-25T00:00:00+00:00.This encoding allows to omit the time portion of the
ISO8601 format; for example, 2007-08-25 is also valid.Available time formats:
Validating Sitemap index
Google uses an XML schema to define the elements and attributes that can appear in Sitemap index file. [ [http://www.matthewkeegan.com/google-loves-your-xml-sitemap/ Google Loves Your XML Sitemap!] Matt's Musings, May 27, 2008. Retrieved October 7, 2008.]
In order to validate your Sitemap or Sitemap index file against a schema, the XML file will need additional headers. [ [https://www.google.com/webmasters/tools/docs/en/protocol.html#sitemapValidation Google Webmaster Tools] ]
Notes
ee also
*
Sitemaps
*Biositemap External links
* [http://www.sitemaps.org Official page]
* [http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=35655 Google's Webmaster Help Center]
Wikimedia Foundation. 2010.