Discoverability
How to add a sitemap.xml
What 13x checks
This is rule discoverability.sitemap in the public registry: sitemap.xml exists and is reachable. It runs on every audit, against the pages we actually fetched, and its result is derived from the response rather than estimated.
- Surface
- Discoverability
- Score weight
- 10 of the readiness score
- Scope
- Runs on every audited page
- Applies
- To every site
Registry version 2026-07-30. Every rule is published, and the audit is deterministic — the same page produces the same finding every time.
The fix
The same text the audit hands you when this check fails on your own site.
Generate a sitemap listing every indexable URL and serve it at https://example.com/sitemap.xml:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod></lastmod>
</url>
<!-- one <url> per indexable page -->
</urlset>Include only canonical, indexable URLs. Listing redirects or noindexed pages wastes crawl budget. Then declare it in robots.txt and submit it in Google Search Console.
Framework-specific versions
Where the change differs enough to be worth writing out separately.
- How to add a sitemap.xml in Next.js (App Router)
- How to add a sitemap.xml in Next.js (Pages Router)
- How to add a sitemap.xml in Astro
- How to add a sitemap.xml in SvelteKit
- How to add a sitemap.xml in Nuxt
- How to add a sitemap.xml in WordPress
- How to add a sitemap.xml in Webflow
- How to add a sitemap.xml in Framer
Does your site have this problem?
13x checks this and 112 others against your live URL in about 30 seconds. No account, and every finding comes with the fix for your framework.
No signup. Results in 30 seconds.
More discoverability checks
- robots.txt is blocking my whole siterobots.txt does not block the whole site
- Why is my site not appearing in Google — noindexNo accidental noindex
- How to find and fix broken internal linksNo broken internal links
- How to set canonical URLs correctlyCanonical URLs are set and consistent
- How to add a robots.txt filerobots.txt exists and is valid
- How to declare a sitemap in robots.txtSitemap is declared in robots.txt