Skip to content

SEO015 · Sitemap referenced in robots.txt

Severity: info

When both robots.txt and a sitemap exist, the static static/robots.txt should contain a Sitemap: line. (A +server robots endpoint is not inspected statically.)

A Sitemap: line in robots.txt helps crawlers discover your sitemap; without it, discovery relies on manual submission.

Add a Sitemap: line to static/robots.txt:

User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xml