---
name: sitemap
description: Publish a valid XML sitemap
---

# Fix: sitemap

**Probe:** `Sitemap:` lines in robots.txt, else `GET /sitemap.xml` — pass if body looks like XML urlset/sitemapindex.

**Add** `/sitemap.xml` and reference it:

```
Sitemap: https://example.com/sitemap.xml
```

```xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url><loc>https://example.com/</loc></url>
</urlset>
```

Spec: https://www.sitemaps.org/protocol.html
