robots.txt reachable
robots.txt reachable. Crawlers fetch robots.txt before anything else. If it answers a server error (5xx), every compliant crawler assumes the whole site is disallowed and stops.
Key takeaways
- Check: robots.txt reachable is a site-level check in the technical group.
- Fix: If you see a server error, check the host's error log — a PHP fatal in a plugin that hooks robots.txt is the usual WordPress cause.
- Not this: Password-protecting a staging site without excluding robots.txt — crawlers get a 401 and treat it as 5xx on some implementations.
- Effort: 15 min, site-level check; the audit drafts the fix from your own page.
Why does “robots.txt reachable” matter?
If it answers an HTML page (a soft-404 or a redirect to the homepage), the rules cannot be read and some crawlers treat that the same way. A missing file (404) is harmless: it means no restrictions.
| Check | robots.txt reachable |
|---|---|
| Layer | site-level check |
| Group | Technical |
| Typical effort | 15 min |
| Weight in the score | 3 on a scale of 1 to 3 |
| Checked by | the website, the Chrome extension and the WordPress plugin (same analyser, 69 checks) |
How do you fix “robots.txt reachable”?
- Open https://yoursite.com/robots.txt in a browser: you must see plain text, not your homepage.
- If you see a server error, check the host's error log — a PHP fatal in a plugin that hooks robots.txt is the usual WordPress cause.
- If you see HTML, a catch-all rewrite is serving a page for every path; add an exception for robots.txt or create a real file at the web root.
- Re-run this audit; the check must say HTTP 200 and plain text.
What should you not do?
- Redirecting robots.txt to the homepage "so it isn't a 404". A 404 is fine; a redirect to HTML is not.
- Password-protecting a staging site without excluding robots.txt — crawlers get a 401 and treat it as 5xx on some implementations.
Example
Good: HTTP 200, text/plain, starts with "User-agent:". Bad: HTTP 500, or HTTP 200 with <!doctype html>.
Frequently asked questions
How long does it take to fix "robots.txt reachable"?
About 15 min. It usually needs a developer or the hosting panel.
Is "robots.txt reachable" checked per page or for the whole site?
It is a property of the whole site, so fixing it once covers every page. The website, the Chrome extension and the WordPress plugin run the same check.
What is the most common mistake with "robots.txt reachable"?
Redirecting robots.txt to the homepage "so it isn't a 404". A 404 is fine; a redirect to HTML is not.
Sources
- Google: overview of crawlers and fetchers
- Google: introduction to robots.txt
- OpenAI: GPTBot, OAI-SearchBot and ChatGPT-User
- Google: AI features and your website
About the author
Related checks
Does your page pass this check? The audit runs all 69 and drafts the fix for you.