What this checks
robots.txt is a plain-text file at the root of a host that tells crawlers which paths they may fetch. It controls crawling, not indexing: a blocked page can still appear in results with just its address if other pages link to it.
Rules are grouped by user agent. A crawler follows the most specific group that names it, and inside that group the longest matching Allow or Disallow wins.
The 4 checks on this page
Each check has its own result in your report. “Learn more” in the report opens the matching card here.
ROB-001robots.txt retrieval
Fetches /robots.txt for the host. A 404 means there is no file, which allows everything.
- Pass Read with 200, or a confirmed 404
- Not measured Another status, or the file was cut off
ROB-002robots.txt syntax and directives
Parses the lines we could read and lists directives that crawlers do not all support, such as Crawl-delay.
- Pass Parsed; directives that not all crawlers support are listed as notes
ROB-003Googlebot path rule
Matches the page address against the rules that apply to Googlebot.
- Pass Googlebot may fetch the page
- Problem Googlebot is disallowed on a public page
ROB-004Bingbot path rule
Does the same for Bingbot, which also feeds Bing Copilot answers.
- Pass Bingbot may fetch the page
- Problem Bingbot is disallowed on a public page
Examples
User-agent: *
Disallow: /admin/
Sitemap: https://example.com/sitemap.xmlUser-agent: *
Disallow: /How to fix it
WordPress
Check Settings › Reading: “Discourage search engines from indexing this site” must be off on a live site. Yoast and Rank Math let you edit robots.txt from their tools page.
Shopify
Edit robots.txt.liquid in your theme only if you need extra rules; Shopify’s default file already blocks checkout and admin paths.
Next.js
Generate the file from app/robots.ts so it ships with each deploy, and check that preview deployments are not the ones being indexed.
Plain HTML
Place robots.txt at the root of every host you serve (www and the bare domain are separate hosts) and return it with status 200 and text/plain.
Check your fix
- Open https://your-host/robots.txt in a browser: it should load as plain text.
- Use the robots.txt report in Google Search Console to see the version Google fetched.
- Run this check again on the page you care about.
Questions
Does Disallow keep a page out of Google?
No. It stops crawling. To keep a page out of results, allow crawling and add noindex.
My robots.txt returns 403. Is that bad?
For crawling it means “no rules”, so crawlers may fetch everything. If that is not what you want, serve a real file with status 200.
Do I need a robots.txt at all?
No. Without one, crawlers may fetch everything. Add one when you need to block a path or declare a sitemap.
Sources
- Google Search Central: How Google interprets robots.txt
- Google Search Central: Introduction to robots.txt
- RFC 9309: Robots Exclusion Protocol
