robots.txt returns a server error
Your robots.txt address answers with a server error (5xx) or cannot be reached. Google treats that as "do not crawl" until the file works again.

What this issue means
ROC SEO warns under check T5 when robots.txt cannot be read, and the robots.txt tester shows the status code.
Why it matters
Google's documentation explains that a robots.txt server error makes Googlebot stop crawling the site, because it cannot know what is allowed. If the error lasts, Google may fall back to an older copy or treat the site as fully allowed after a long time, but crawling can stall in the meantime.
How to fix it
- Open
/robots.txtin your browser and check the status with the HTTP header checker. - Look for firewall or security rules that block bots from that file, and for server errors in your hosting logs.
- If a plugin makes the file, check it works with caching turned off.
- Make sure the file returns 200 with plain text, or 404 if you want no rules. Both are fine; 5xx is not.
- Use Settings › robots.txt in Google Search Console to see when Google last read it.
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
Is a 404 for robots.txt a problem?
No. 404 means no rules, and Google crawls normally. Only server errors (5xx) and timeouts stop crawling.
How fast does Google notice a fix?
Google usually rereads robots.txt within a day, and you can ask it to recrawl the file in Search Console.
What about a 403 Forbidden?
Google treats 4xx errors on robots.txt, including 403, as if the file does not exist, so crawling continues.