A sitemap.xml is reachable and referenced from robots.txt.
sitemap.xml is the canonical inventory of every URL on your site. Search engines and AI crawlers both use it to discover pages they would otherwise miss. A site without a sitemap forces agents to crawl recursively from the homepage and miss anything not linked from a top-level page.
Underlying specification: https://www.sitemaps.org/protocol.html
- Generate a sitemap.xml that lists every public URL on your site.
- Most frameworks (Next.js, Hugo, Jekyll, Astro) generate one automatically; CMSes have plugins (Yoast, Rank Math).
- Reference the sitemap from robots.txt with a `Sitemap:` directive at the top of the file.
- Submit it to Google Search Console and Bing Webmaster Tools after deploy.
The snippet below uses your-domain.example as a placeholder. Replace it with your actual host before deploying. For a fix tailored to your live site, run a scan and open the per-domain remediation page.
Paste this into Claude Code, Cursor, or any assistant with your repository open. It carries the steps, how to verify them, and the shortcuts to avoid. It is generic, though: run a scan to get one written from what your pages actually do.
Run a scan against your domain to see whether sitemap.present currently passes, warns, or fails. Free, no signup; the score page is permanent and citable.