We respect your privacy.

We use strictly necessary cookies to keep you signed in and to protect against CSRF. With your permission we also use a small amount of first-party analytics to improve the product. We do not sell your data and we do not use third-party advertising trackers. See our cookie policy and privacy policy .

← All learn topics

Rule site.sitemap.missing

Publish a sitemap.xml

site.sitemap.missing is a check in Crawlmind's site audit that grades high-impact issues of this kind. This page explains why the rule matters and the exact fix.

Impact: highEffort: mediumFixable: 1-click

Why it matters

A sitemap is the single biggest lever for crawl coverage. Without one, both search engines and AI crawlers discover your pages via link-walking: which is incomplete for any site over a few dozen pages. With one, every URL with a `<lastmod>` becomes a candidate the moment the file changes.

The fix

```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>2026-05-27</lastmod>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-05-20</lastmod>
  </url>
</urlset>
```

Most frameworks generate this automatically (Nuxt: `@nuxtjs/sitemap`; Next.js: `app/sitemap.ts`). Reference it from robots.txt with `Sitemap: https://example.com/sitemap.xml`.

References