Sitemaps
The Sitemaps 0.9 XML protocol, sitemap index files, language alternates in sitemaps and the ways crawlers find a sitemap.
4 pages
Pages in this section
Sitemap XML format
Every element of the Sitemaps 0.9 XML format, with the size limits, encoding and escaping rules, which fields Google uses, and the RSS, Atom and text alternatives.
Type: ReferenceVersionSitemaps 0.9
Sitemap index files
A sitemap index is an XML file that lists other sitemaps instead of pages. It is required once a site passes 50,000 URLs or 50 MB in one sitemap, and it is useful well before that for splitting a site by section.
Type: ReferenceVersionSitemaps 0.9
How crawlers find a sitemap
A sitemap only helps once a crawler knows where it is. The Sitemap line in robots.txt, submission in Google Search Console and Bing Webmaster Tools, the retired ping endpoint, and IndexNow for announcing changed URLs.
Type: Intermediate
Language alternates in sitemaps
A sitemap can tell search engines that pages are translations or regional versions of each other, using xhtml:link elements with hreflang values inside each url entry. Every version lists every version, itself included.
Type: Intermediate