Blocked by robots.txt: what it means and how to fix it

'Blocked by robots.txt' means a rule in the site's robots.txt file told Google not to fetch the page, so Google has not read it. The file sits at the root of the site and applies to whole paths at once, which makes it easy for one line to block far more than was meant.

Updated

This guide, surveyed at release eab6db0 on 19 October 2026: words per section.

Each sounding opens its section

  1. 01 What the status means 55 words
  2. 02 When the block is intended 42 words
  3. 03 When it is a mistake 64 words
  4. 04 Find the rule 54 words
  5. 05 Fix it 53 words
  6. 06 Why it is the wrong way to hide a page 85 words
  7. 07 Questions people ask 140 words
  8. 08 Free competitor gap report 102 words
  9. 09 More in this series 241 words
Words
836
Site 366–1,117 · median 749.5
Sections (H2)
9
Site 3–14 · median 9
Internal links
28
Site 1–36 · median 19
File
72.3 kB
HTML, uncompressed · of 83.6 kB budget · 0 scripts

Sheet

009 of 126

Release eab6db0

Standard 49 · 101 checks

What the status means

The robots.txt file lists parts of a site that crawlers are asked not to fetch. Google’s Page indexing report puts a page under this status when a rule in that file matched its address. Google did not read the page, so it knows the address and nothing about the content.

When the block is intended

Blocking is right for parts of a site with no value in search and many addresses: baskets, checkouts, account areas, internal search results. Hosted platforms block these by default. A list of such addresses needs no action.

When it is a mistake

The status needs attention when it lists pages that should be found. Three causes are common.

  • A rule left from when the site was being built, often Disallow: /, which blocks everything.
  • A rule written for one folder that also matches others, because rules match the start of an address.
  • A plugin or app that added rules of its own.

Find the rule

Open your domain followed by /robots.txt in a browser. Read each Disallow line under User-agent: * and under any group naming Googlebot. The rule responsible is the one whose path begins the same way as the blocked address. Search Console’s robots.txt report shows the file as Google last fetched it.

Fix it

Remove the rule, or narrow it so that it covers only what should be blocked. Where the file is edited depends on the platform: directly on the server, through an SEO plugin on WordPress, or in the platform’s settings on Wix and Shopify. Then request indexing for the pages that matter.

Why it is the wrong way to hide a page

A blocked page can still turn up in search. Google’s guidance says so plainly: to make sure a page is not indexed, remove the robots.txt block and use a noindex instruction instead. A block stops Google reading the page, and so stops it seeing the instruction that would keep the page out. The companion status is covered in excluded by noindex tag, and the choices about AI crawlers in should you block AI crawlers?

Questions people ask

How do I fix 'Blocked by robots.txt'?

Open the robots.txt file, find the Disallow rule that matches the page's address, and remove or narrow it. On hosted platforms the file is edited through the platform's settings, where the platform allows it.

Should I use robots.txt to keep a page out of Google?

No. Google's guidance for this status is that a page blocked by robots.txt can still be indexed if other pages link to it. To keep a page out of search, allow it to be fetched and give it a noindex instruction.

What does 'Indexed, though blocked by robots.txt' mean?

The page is in Google's index even though Google was not allowed to read it, usually because other pages link to it. It appears in results with little or no description.

Free competitor gap report

One line in one file can hide a whole section of a site. Name up to three competitors and we compare what your site and theirs let search engines read, then send you what yours is keeping from them.

  1. Speed and technical health, side by side
  2. On-page SEO and site structure
  3. The content they are found for and you are not
  4. Who holds the searches that matter in your market
  5. A prioritised list of what to fix first
Request your free report by email
Address
contact@hadalmedusa.com
Include
your site; up to three competitors; where you compete