An XML sitemap is a file listing the pages you want indexed, usually with the date each was last changed. Search engines read it as a hint about what exists and what moved. It is a table of contents, not an argument: it helps pages get found, and decides nothing about whether they deserve to rank.
Briefly explained
- A machine-readable list of your indexable pages.
- It assists discovery. It does not guarantee indexing.
- It matters most right after a launch or migration.
- Its best use is diagnostic, through the coverage report.
When does it actually matter?
Less often than its reputation suggests, and sharply in two situations.
- After a launch or migration, when internal links have not settled and new addresses need finding quickly.
- On a larger site, where service and location combinations multiply faster than anyone links to them.
On a twenty-page site with decent internal links, discovery was never the problem.
What belongs in it?
Only pages you would be happy to see in search results.
- Canonical versions, not duplicates
- Indexable pages, never ones carrying a no-index directive
- Real content, not thank-you pages or tag archives
A sitemap that lists pages you told Google to ignore sends two contradictory instructions, and Google resolves the contradiction however it likes.
What is it most useful for?
Reading, rather than submitting.
In Search Console, the gap between pages submitted and pages indexed is one of the clearest diagnostics available. A large gap usually means duplicates, soft 404s, or thin pages Google chose not to keep — all of which are worth knowing before the traffic chart tells you.
How do you keep it honest?
- Generate it automatically on publish, never by hand
- Keep the last-modified dates truthful. Faking freshness helps nothing
- Reference it from robots.txt
- Submit it once, then read the coverage report monthly
What do the terms mean?
- Sitemap index: A sitemap that points to other sitemaps, for larger sites.
- lastmod: The date a page genuinely changed.
- Coverage report: Search Console’s account of what is indexed and what was excluded.
- Soft 404: A page that returns a success code while showing nothing of substance.
- robots.txt: The file that tells crawlers where they may go, and where the sitemap is.
Owner questions
