Sitemap

A sitemap is a file that lists the pages of your site for search engines, with details such as the last update date. When you need one and the limits to know.

A sitemap is a file that lists the pages and files on your site, with information about them, so search engines can crawl the site more efficiently. It can say when each page was last updated and which language versions it has. Most sitemaps are XML files, usually at an address like example.com/sitemap.xml.

Google says a sitemap helps most when a site is large, new with few links from other sites, or rich in video and images. A site of about 500 pages or fewer that is well linked internally may not need one, though Google adds that most sites benefit from having it.

The rules to know:

  • one sitemap can hold up to 50,000 URLs or 50 MB uncompressed, and larger sites split it and list the parts in a sitemap index;
  • Google ignores the priority and changefreq values;
  • Google uses lastmod only when it is consistently and verifiably accurate.

You can submit a sitemap in Search Console or point to it from robots.txt. Google calls submission a hint: it doesn't guarantee that the URLs will be crawled or indexed.

Related terms

Sources

  1. Learn about sitemaps
  2. Build and submit a sitemap

All terms