XML sitemap
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
The sitemap named by the first Sitemap: line in robots.txt, or /sitemap.xml if there is none. It must answer 2xx and contain <urlset> or <sitemapindex>.
- Pass
An XML sitemap was found.
- Warning
No valid XML sitemap at either place.
Why it matters
A sitemap lists the pages you want indexed, so search engines find pages that few links point to and notice changes sooner.
How do I create an XML sitemap and tell search engines about it?
Generate the sitemap from the site's own list of pages — most frameworks and CMSs have a plugin — and reference it from robots.txt.
/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></url>
<url><loc>https://example.com/pricing</loc></url>
</urlset>robots.txt
Sitemap: https://example.com/sitemap.xmlAstro
npx astro add sitemapRelated tools
- Website indexability checker — Review homepage index directives, robots.txt, canonical URL and sitemap findings.
- robots.txt generator — Write and test robots.txt rules for search engines and AI crawlers.
Other checks in Search visibility
- AI crawler robots.txt rules
- llms.txt
- Page title
- Meta description
- Canonical URL
- Main heading (h1)
- Indexable (noindex)
- robots.txt
- Link previews (Open Graph)
- Structured data (JSON-LD)
Search visibility in the methodology ·All guides
This check is one step of the website launch checklist.
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.