XML sitemap
An XML sitemap is a file that lists the URLs on a site you want search engines to know about, often with the date each page was last modified.
Sitemaps help search engines discover pages, especially on large or new sites, or pages that are not well linked. Large sites use a sitemap index file that points to several smaller sitemaps, each holding up to 50,000 URLs.
In more detail
A good sitemap contains only canonical, indexable pages that return a 200 status code. Including redirected, noindexed or broken URLs sends mixed signals. Accurate lastmod dates help crawlers prioritise updated pages. Submit the sitemap in Google Search Console and reference it in robots.txt, then watch the report for errors.
Why it matters
A sitemap does not guarantee indexing or rankings, but it is a cheap, reliable way to make sure search engines know about every page you care about.
A static site generates its sitemap automatically at build time, listing every service page, guide and glossary term. When a new guide is published, it appears in the sitemap within the same deploy.