dotvitals

The sitemap is not declared in robots.txt

LowConfirmedQuick winseo.sitemap.not-declared

What this check looks for

A sitemap was found at the conventional location, but robots.txt does not mention it. Crawlers that do not guess that location will not find it.

Why it matters

The Sitemap: line in robots.txt is the only sitemap discovery route that works without submitting anything to a particular search engine's console. Without it, every crawler that is not Google or Bing has to guess.

What it costs your score

When this check fails it removes 3 points from your SEO score, before the status, confidence and repeat multipliers are applied. SEO carries a weight of 5 in the overall score.

It shares the seo.crawl family ceiling of 15 points: however many findings that family produces, together they cannot remove more than that from SEO. One underlying problem showing up in several places is still one problem.

Severity
low
Default confidence
confirmed
Status when triggered
warn
Deduction
3 points
Family cap
seo.crawl · 15
Category
SEO
Module
Seo audit
Fix owned by
user
In the ruleset since
2026.09

How the whole score is calculated

How to fix it

Add a Sitemap: line to robots.txt naming the sitemap's absolute URL.

It is the discovery route that works for every crawler, without registering with any of them.

  1. Add Sitemap: ‹sitemap url› to robots.txt, on its own line.

  2. Use the absolute URL including the scheme — a relative value is not valid for this directive.

  3. Add one line per sitemap file if you have several, or point at the sitemap index.

  4. Place it anywhere in the file; it is global and is not part of any User-agent group.

How to confirm it worked

  • curl -sS ‹robots url› | grep -i '^sitemap:' — should name the sitemap URL

A named slot like ‹domain› — and the braces left in the configuration below — is filled in with your own values when this rule appears on a report.

Remediation by platform

Site root files
User-agent: *
Allow: /

Sitemap: https://example.com/sitemap.xml
  • The blank line before it is conventional, not required. What is required is an absolute URL.

Technical detail

A sitemap was served from ‹sitemap url›, and ‹robots url› contains no Sitemap: line.

RFC 9309 §2.2.3 defines the directive as file-global: it is not part of a User-agent group and its position in the file does not matter. Multiple Sitemap: lines are allowed, which is how a site with several sitemap files declares them all.

The cost of not declaring it is small for Google and Bing, which both check /sitemap.xml and both accept a submission through their console. It is larger for everything else — other search engines, the AI crawlers, and any tooling that reads robots.txt as the site's machine-readable index.

Adding the line takes a minute and removes the dependency on a convention.

Standards and references

Test this on your domain

Run the check that produces this finding, on its own, against any domain.

Open the seo audit checker

Other seo audit checks