robots.txt tells search engines to stay out of this page

A Disallow rule that keeps crawlers off your page, or a robots.txt that answers with an error. What each one does to Googlebot, Bingbot and Applebot, and how to find the line.

By ClearReadout Updated Facts last checked

Two lines can do it:

User-agent: *
Disallow: /

The first says “every crawler”. The second says “nowhere”. Googlebot, Bingbot and Applebot follow robots.txt, so they never ask for the page.

What the report means

The card takes one of three forms.

  • “robots.txt tells Googlebot to stay out of this page” (or Bingbot, or Applebot): a Disallow rule names that search engine and covers this page’s address.
  • “robots.txt tells every search engine to stay out of this page”: the rule sits under User-agent: *, the group every crawler falls back on, and no search engine has a group of its own that lets it back in.
  • “robots.txt answers with an error”: /robots.txt answered with a server error, a 5xx code.

All three are tagged Stops crawlers, and they hold your rating down.

Why it matters

A search engine that obeys the rule will not fetch the page, so it has nothing new to show for it.

The error case surprises people. Google’s own rules for robots.txt say that when the file answers with a server error, Google “stops crawling the site” for the first 12 hours while it keeps trying, then uses the last good copy for up to 30 days. A missing file is the opposite: Google treats a 4xx answer “as if a valid robots.txt file didn’t exist”, which blocks nothing. A broken robots.txt keeps Google out harder than a missing one.

If you meant to hide one page from search, robots.txt is the wrong tool. Google says a page blocked by robots.txt can still appear in results, because Google never sees the noindex on it. This page tells search engines not to list it covers the right way.

Where to fix it

Read the live file at your own domain’s /robots.txt first. On WordPress and Shopify the file you would edit may not exist; the server writes it when asked.

Shopify. The rules come from your theme’s robots.txt.liquid template, if you have one. Shopify notes that an old template can keep rules its default has since dropped, and that deleting the template brings the current default back. Shopify and crawler access has the steps.

WooCommerce and WordPress. Unless a real file sits on the server, WordPress writes robots.txt on request and lets plugins add lines through the robots_txt filter, so an SEO plugin is the likeliest author. A real file at the site root is served instead. The WordPress guide explains both.

Cloudflare. With Bot Preference Sync on and a policy set to Block or Disallow, Cloudflare says it puts its own lines before yours, “combining both into a single response”. Read the top of the live file, so you know which lines are yours and which are Cloudflare’s. The Cloudflare guide shows where the setting lives.

Any site. Delete the Disallow that covers the page, or narrow it to the folders that should stay private, such as /admin/ or /cart/. For an error, make /robots.txt answer 200 with plain text. The starter policies are ready to copy.

Who makes the change

Whoever edits your site. For an error, your hosting, since the server is failing to send the file.

A note for your developer

A ClearReadout check of [page address] says robots.txt keeps [Googlebot / every search engine] out of this page.
The live file is at [https://example.com/robots.txt].
Could you find the Disallow rule that covers this page and remove it or narrow it to private folders, unless keeping search engines out is intended?
If the report says robots.txt answers with an error instead, please make it answer 200 with plain text.

Check again

Change the file, then run Check again from your report. A fixed problem leaves the list. Or check your page.

Can Google and ChatGPT read your web page?

Free. Sign in with Google or email first, no card.See a sample report