Technical SEO
XML sitemap
A machine-readable list of a site's important URLs that helps search engines discover and prioritize pages for crawling.
By Shimon Alex Carroll, Founder and CEO, Own The Climb · Last updated
How we explain this term
An XML sitemap is a file listing the URLs you want search engines to know about, optionally with metadata like last-modified date. It does not force indexing, but it helps discovery, especially for large sites, new sites with few backlinks, sites with deep or poorly linked pages, and sites with content that changes often. You submit it in Search Console and reference it in robots.txt.
The value is in accuracy. A sitemap should list canonical, indexable, 200-status URLs only. Common problems are including non-canonical URLs, listing pages that are blocked by robots or marked noindex (a direct conflict), including redirected or 404 URLs, and stale last-modified dates that lie about freshness. Each of those wastes the engine's trust in the sitemap.
Limits matter at scale: a single sitemap caps at 50,000 URLs and 50 MB uncompressed, beyond which you use a sitemap index that points to multiple sitemap files. The cleanest approach is to generate the sitemap automatically on every deploy from the same source of truth as your routing, so it never drifts from reality. The audit looks for your sitemap in robots.txt and at the usual addresses and reports what it finds.
How we check this on your site
We look for your XML sitemap where crawlers look for it: the Sitemap: lines in robots.txt first, then four common addresses. A sitemap lists the pages you want in search, and Bing says its lastmod dates help it decide what to recrawl for AI-powered search.
How we would address a finding
- Generate a sitemap that lists the preferred address of every page you want in search, with a lastmod date that changes only when the content does.
- Split it under a sitemap index once it passes 50,000 addresses or 50 MB.
- Add "Sitemap: https://your-domain/sitemap.xml" to robots.txt and submit the sitemap in Google Search Console.
Related terms
Primary sources
- Google Search Central, build and submit a sitemap
Google Search Central