Practical guideUpdated

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

'Blocked by robots.txt' in Search Console means Googlebot found the URL but did not crawl it because a Disallow rule in your robots.txt matches it. It is correct for pages you deliberately keep crawlers away from. If the URL should be in search, find the matching rule, remove or narrow it, and request a recrawl. If you want a page out of search, use noindex instead of a block.

There are two related statuses and they need opposite responses. This guide explains both, shows how to find the exact rule responsible, and covers the common accidental blocks we see on CMS and JavaScript sites.

By , Founder, SerionFlow

What we measured ·

What Google shows for "blocked by robots.txt" right now

Method: Live Google results (United States, desktop, English) for "blocked by robots.txt" retrieved through DataForSEO's SERP API on 2026-10-22. Page types are our own classification of each ranking URL.

The top 9 organic results for "blocked by robots.txt" were 2 official search-engine docs pages, 2 product or service pages, 2 guides or explainers, 1 forum or community thread, 1 video, 1 encyclopedia. The first three were www.reddit.com, developers.google.com, www.youtube.com. Community threads (www.reddit.com) ranked on page one, a sign searchers want first-hand answers, not only vendor pages.

Google showed an AI Overview for this query, citing 8 source domains including support.google.com, www.reddit.com, www.youtube.com, www.embarque.io. Pages that state the answer directly and early are the ones an Overview can quote.

People Also Ask listed: "How to fix blocked by robots.txt error?"; "Is robots.txt illegal?"; "How can I bypass the Robots.txt file?"; "Where can I find the robots.txt file on my website?". The sections below answer the ones within this page's scope.

Top organic results for "blocked by robots.txt", 2026-10-22
PositionDomainPage type
1www.reddit.comForum or community thread
2developers.google.comOfficial search-engine documentation
3www.youtube.comVideo
4datadome.coProduct or service page
5www.embarque.ioProduct or service page
6www.seopress.orgGuide or explainer
01

The two statuses

They look similar but mean different things.

robots.txt-related Search Console statuses
StatusWhat happenedUsual response
Blocked by robots.txtURL not crawled and not indexedUnblock if it should rank; otherwise ignore
Indexed, though blocked by robots.txtURL indexed from links without being crawledUnblock and noindex if unwanted; unblock if wanted
02

Find the rule responsible

Open the live robots.txt at the root of the exact host and protocol shown in the report. Look for Disallow lines in the group that applies to Googlebot, which is the group naming Googlebot if one exists, otherwise User-agent: *. Rules match URL prefixes and can use * and $ wildcards, so Disallow: /*? blocks every URL with a query string. Our free robots.txt checker tests a URL against the live file and names the matching rule.

03

Common accidental blocks

A Disallow: / left over from staging blocks the whole site. Rules meant for parameters, such as Disallow: /*?, also block legitimate paginated or filtered pages. Blocking /wp-content/ or JavaScript and CSS folders stops Google rendering pages properly. Platform defaults can block paths like /search or /collections/*+* on stores. And a CDN or host may serve a different robots.txt than the one in your repository, so always check the live file.

04

Fixing it

Edit the rule where the file is generated: a physical file, a CMS or SEO plugin setting, framework configuration, or host settings. Deploy, then confirm the live file changed. Google caches robots.txt for up to 24 hours in most cases; Search Console's robots.txt report lets you request a recrawl of the file. Then use URL Inspection to request indexing for important URLs.

05

When to leave the block in place

Blocks are appropriate for crawl traps such as infinite calendars and faceted filters, internal search results, and admin areas. If those appear in the report, no action is needed. If they appear under 'Indexed, though blocked' and you want them gone from search, temporarily allow crawling and serve noindex so Google can see it, because a block prevents Google from reading the noindex. SerionFlow is the wrong tool for editing robots.txt rules on your site; find and change the rule where your file is generated.

Clear answers

Frequently asked questions

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

+

Find the Disallow rule that matches the URL, remove or narrow it at the source, confirm the live file changed, and request indexing in URL Inspection.

Where can I find the robots.txt file on my website?

+

At the root of your domain, for example https://www.example.com/robots.txt. On some CMSs it is generated virtually and edited through settings or a plugin.

About the author

· Founder, SerionFlow

Shadrack builds SerionFlow's site research, page generation, and Search Console tooling, and runs the free tools these guides pair with. Search Console figures cited on these pages come from serionflow.com's own property.

Continue exploring

Related SerionFlow resources

More in Guides

All guides

Make the next move obvious

Let SerionFlow turn your market evidence into momentum.

Confirm the market, rank the opportunities that matter, create brand matched pages on your domain, and keep moving with controlled weekly intelligence.

Choose how SerionFlow uses cookies.

Essential cookies keep the site secure and working. Product analytics helps us improve reliability. Optional cookies help us remember preferences and improve campaigns. You can change optional cookies anytime in Cookie Settings.