robots.txt does not reference a sitemap
A simple Sitemap: line in robots.txt points crawlers straight to your sitemap.
What it is
This check flags a robots.txt file that omits a Sitemap: directive.
Why it matters for SEO
Declaring the sitemap in robots.txt speeds discovery, especially for crawlers that read robots.txt first.
Example
# robots.txt
User-agent: *
Disallow:
# (no Sitemap: line)
How to fix
- Add
Sitemap: https://example.com/sitemap.xmlto robots.txt. - Use the absolute HTTPS URL.
- List multiple sitemaps if you have them.
- Re-crawl to confirm the directive is present.