Skip to main content

How to fix: XML sitemap not found

No XML sitemap was found at /sitemap.xml or referenced in robots.txt. A sitemap helps search engines index the site correctly.

Why it matters

Without a sitemap, search engines may incompletely index the site, missing important pages or discovering sensitive paths through link crawling rather than controlled disclosure.

A sitemap.xml file tells search engines which pages exist and their relative importance. The absence of a sitemap can lead to poor SEO and may cause crawlers to discover sensitive paths through other means.

How to fix it

  1. 1Create a /sitemap.xml listing all public pages
  2. 2Reference it in robots.txt: Sitemap: https://yoursite.com/sitemap.xml
  3. 3Submit it to Google Search Console and Bing Webmaster Tools
  4. 4Exclude sensitive or authenticated pages from the sitemap

Code examples

Basic sitemap.xml

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

References

Detected automatically by VulnRadar. The check id is sitemap-missing, stable across every scan so you can filter or diff on it.

See every info disclosure check

Questions

How severe is XML sitemap not found?
VulnRadar rates this info severity in the info disclosure category. The severity is fixed per check, not scored per site, so the same finding is the same severity on every scan.
Does VulnRadar check for this automatically?
Yes. It runs as part of every scan under the check id sitemap-missing, which stays the same between runs so you can filter, diff, or gate CI on it.

Missing a check?

The detection set is open. If you know a misconfiguration this does not catch, propose it: the issue template asks for the threat model, how to detect it, the false-positive risk, and a test fixture, which is the same thing a maintainer would have to work out anyway.

Propose a checkHow a check is built

Scan your own site for xml sitemap not found

VulnRadar runs this check and hundreds more against a URL in seconds. No agent to install, just paste a URL.

Or scan this site as a demoRead the docs

How to fix: XML sitemap not found | VulnRadar