robots.txt has no Sitemap line
Your robots.txt does not list your XML sitemap. Search engines that you have not told about the sitemap may not find it.

What this issue means
ROC SEO adds a notice under check T5 when robots.txt has no Sitemap: line. The line looks like this: Sitemap: https://example.com/sitemap.xml.
Why it matters
Submitting your sitemap in Google Search Console covers Google, but Bing, other search engines and many AI crawlers read robots.txt first. A Sitemap line is a simple, standard way to point all of them to your list of pages.
How to fix it
- Find your sitemap address. Common ones are
/sitemap.xmland, in WordPress SEO plugins,/sitemap_index.xml. - Add a line to robots.txt with the full address, including https://. It can go anywhere in the file.
- List each sitemap or sitemap index on its own line if you have several.
- Check the file with the robots.txt tester and the sitemap with the sitemap checker.
Find it on your own site
The free ROC SEO extension checks the page you are on for this and more than 60 other issues, each with a fix, and the site crawler checks up to 1,000 pages for free.
Related issues
Frequently asked questions
Do I still need to submit the sitemap in Search Console?
It is still worth it: Search Console shows whether Google read it and reports errors.
Can the sitemap be on another domain?
Yes, if you control both, but a sitemap on the same domain is simplest.
Does the Sitemap line belong to a User-agent group?
No. It is independent of the groups and applies to all crawlers.