Blocked by robots.txt: Meaning and How to Fix

Blocked by robots.txt means a rule stops Googlebot from crawling the page. How to find the rule (Cloudflare too), fix it, validate it and request indexing.

Blocked by robots.txt: Meaning and How to Fix

Blocked by robots.txt means a rule in your site's robots.txt file tells Googlebot not to crawl the URL, so Google skips the page and does not index its content. Search Console shows it as a reason in the Page indexing report and as Crawl allowed? No in URL Inspection. If you want the page in Google, find the Disallow rule that matches it, remove or narrow it, confirm with a live URL Inspection test, then click Validate fix and request indexing. If the block is deliberate (an admin page, a cart, internal search results), leave it and keep the URL out of your sitemap.

What does Blocked by robots.txt mean?

It means Googlebot read your robots.txt before crawling the URL, found a rule that disallows it and stopped there. Google's Page indexing report help lists the reason as URL blocked by robots.txt: "This page was blocked by your site's robots.txt file." Because Google never fetched the page, it cannot read the text, the links on it or a noindex tag in it.

Here is how the status reads on each screen:

ScreenWordingMeaning
The Pages report under IndexingBlocked by robots.txt, one of the reasons under Why pages aren't indexedA rule kept Googlebot away from these URLs. Open the reason to see up to 1,000 of them.
Inspecting one URLURL is not on Google, with Page is not indexed: Blocked by robots.txt and Crawl allowed? NoThe rule blocked Google the last time it tried the URL.
Test live URLURL is not available to Google, with Crawl allowed? NoYour robots.txt blocks the page right now.

A different status, Indexed, though blocked by robots.txt, appears in the report's Improve page experience table. Google indexed the URL without crawling it, from links that point to it, and its help page warns that any snippet "will probably be very limited." Same rule, opposite outcome: the page is in Google, but without its content.

Why is my URL blocked by robots.txt?

Because a Disallow line matches its path, and often nobody meant it to. The usual causes:

CauseWhat it looks likeWhere to fix it
A site-wide Disallow: / that went live with a launch or relaunchThe whole site blocked by robots.txt at once, often right after launchRemove the line from robots.txt, or turn off the setting that writes it
A site builder or plugin settingA whole site or section blocked without anyone editing a fileThe platform's crawler or SEO settings (table further down)
A rule that matches more than intendedOne folder or URL pattern blocked, other pages fineNarrow the rule: a trailing slash or a $ at the end
A User-agent: Googlebot groupGooglebot blocked while other crawlers get in, or the other way roundGooglebot follows only its own group and ignores the * group: fix the rule there
A CDN that changes the file, such as Cloudflare's managed robots.txtLines at the top of robots.txt that you never wroteThe CDN dashboard (section below)
A deliberate block on a URL that is still in the sitemapAdmin, cart or search URLs in the reportTake the URL out of the sitemap and leave the rule

Rules match from the start of the path, so a short rule reaches further than it looks. This one was meant for a /p/ folder:

User-agent: *
Disallow: /p

It also blocks /pricing, /products/ and /privacy. Disallow: /p/ blocks only the folder. Our robots.txt syntax guide covers wildcards, groups and which rule wins when Allow and Disallow overlap, and the related mistake of blocking CSS or JavaScript files, which breaks how Google renders a page without putting it in this row.

How to find the robots.txt rule that blocks a page

  1. Open the list. In Google Search Console, go to Indexing > Pages, set the report to All submitted pages so sitemap URLs come first, and click Blocked by robots.txt under Why pages aren't indexed.
  2. Group the URLs. Export the examples and sort them: a shared folder, parameter or file type points to one rule.
  3. Inspect one URL. Click the inspect icon and read Crawl allowed?. Then click Test live URL: if it still says No, the rule is in today's file. Ignore Indexing allowed? here: Google's URL Inspection help says it always shows Yes on a blocked page, because Google cannot see a noindex it may not crawl.
  4. Read the file Google actually uses. In Settings, the Crawling section has a robots.txt row: click Open report there. The robots.txt report lists the files Google found for your top 20 hosts with their fetch status, Checked on date, size and parsing issues. Click a file to see the version Google last fetched, and Versions for its changes in the past 30 days, which shows when the rule appeared. The report works only on Domain properties and URL-prefix properties without a path. Each host has its own file, so for a URL on shop.example.com, http:// or www, open that host's robots.txt.
  5. Match the URL to the rule. Paste the URL into the free noindex checker: it reads robots.txt the way Googlebot does and shows the rule that blocks the URL, along with any noindex on the page. In Screaming Frog's SEO Spider, the Response Codes tab has a Blocked by Robots.txt filter with a Matched Robots.txt Line column, per its robots.txt guide.

If the rule Google shows is not in the file on your server, something in between is writing it: a plugin, your platform or your CDN.

How to fix Blocked by robots.txt in Search Console

  1. Decide which URLs should be in Google. Keep the rule for the rest, and remove those from your sitemap.
  2. Remove or narrow the rule in robots.txt or in the platform setting that writes it. Change only the line that matches the pages you want, so the deliberate blocks stay.
  3. Check the new file. Paste your site into the free robots.txt checker: it lists every user-agent group and rule and flags full-site blocks and blocked CSS or JavaScript. Then repeat Test live URL on a sample of the pages: Crawl allowed? should now say Yes.
  4. Ask Google to fetch the new file. Google caches robots.txt for up to 24 hours. To speed that up, open the robots.txt report, click the more settings icon next to the file and choose Request a recrawl. Google notes this "doesn't guarantee an immediate recrawl of unblocked URLs".
  5. Click Validate fix, if every URL in the row is fixed. The button sits on the Blocked by robots.txt details page, and validation stops at the first deliberate block still listed there. To work around that, use the sitemap filter from the Validate fix walkthrough in our 404 guide, or skip it: Google updates the count as it recrawls.
  6. Request indexing for the pages that matter most. In URL Inspection, click Request indexing. Search Console refuses the request while the live test still finds the page non-indexable, and the daily allowance per property is small, so begin with the pages that used to bring traffic.

Blocked by robots.txt on WordPress, Shopify, Wix and Squarespace

On hosted platforms you rarely edit the file directly. Each one has its own switch:

PlatformWhere robots.txt comes fromWhat to check
WordPressA virtual file WordPress generates, replaced by a physical robots.txt if one is uploadedA robots.txt file left from staging, and the robots.txt editor in your SEO or security plugin. The Discourage search engines setting no longer writes Disallow: / (since WordPress 5.3 it adds noindex instead).
ShopifyA default file Shopify generates, changed only through a robots.txt.liquid theme templateBlocked admin, cart, checkout, account and sorted or filtered collection URLs are Shopify's defaults. Look at robots.txt.liquid only when product or collection pages are blocked.
WixA default file Wix keeps in sync with your site settingsSEO & GEO, then Tools and settings, then Robots.txt Editor. Reset to Default undoes edits.
SquarespaceA file Squarespace generates from your site settingsSettings, then Crawlers: Block Search engine crawlers adds Disallow: /. Untick it.

Sources: WordPress 5.3, Shopify, Wix and Squarespace.

On WordPress, when that setting is ticked, Search Console reports the pages as Excluded by 'noindex' tag, not Blocked by robots.txt.

Did Cloudflare change your robots.txt?

It can, and the lines it adds are easy to spot. Cloudflare's managed robots.txt adds its own block at the top of your file when Enable Bot Preference Sync is on and at least one of its AI Crawler and Agent access policies (formerly Configure AI bot policies) is set to Block, Block on pages with ads or, for Training, Disallow. The block sits between # BEGIN Cloudflare Managed content and # END Cloudflare Managed Content, disallows AI crawlers such as GPTBot, ClaudeBot, CCBot and Google-Extended, and keeps a User-Agent: * group with Allow: /. If your site has no robots.txt, Cloudflare creates one.

The managed lines for AI training do not block Googlebot. Google-Extended is a control token, not a crawler, and Google says it "doesn't impact a site's inclusion in Google Search". Cloudflare also warns that Search Console "may occasionally report Syntax not understood" for its Content-signal lines, and says it has seen no impact on crawling or SEO from those reports.

The policy choices are another matter: since September 15, 2026, the Training policy's Block options also cover mixed-use crawlers such as Googlebot. What to check in the dashboard:

SettingWhat it does to GoogleWhat to do
Training policy set to Block or Block on pages with ads (Security > Settings, filter by Bot traffic, AI Crawler and Agent access policies)Block stops Googlebot at Cloudflare's edge, search included, along with Bingbot and Applebot. Block on pages with ads does the same on pages that show ads.To keep AI training out and stay in Google, set Training to Disallow: training-only crawlers are kept out, and mixed-use crawlers such as Googlebot are excluded from that block.
Search policy set to BlockBlocks the verified bots Cloudflare classes as Search across the zone, and with Bot Preference Sync on adds managed robots.txt lines for them. Cloudflare does not list which crawlers count as Search.Keep Search on Allow (do not block), the default for new domains, and test a page in URL Inspection after any change.
Bot Fight ModeCan challenge automated traffic. Cloudflare says verified bots such as Googlebot have historically been excluded from its default bot settings, so check Security Events before blaming it.WAF custom rules cannot skip it. If Events shows it challenging Googlebot, turn it off in the same Bot traffic settings.
Super Bot Fight Mode (Pro plan and up)Can block or challenge bot categories, including Verified botsSet Verified bots to Allow. Use a WAF custom rule with the Skip action for exceptions.
WAF custom rules, IP Access rules, rate limitingCan refuse Google's crawlerCloudflare's crawl error guide says not to block Google crawler IPs with these rules and to keep rate limiting off the Google crawler. To keep a challenge or block rule off good crawlers, add and not cf.client.bot (the Known Bots field) to it rather than matching the user agent.
The /cdn-cgi/ pathCloudflare's internal path, where Google encounters errorsCloudflare recommends Disallow: /cdn-cgi/. Errors there do not affect rankings.

To see whether a firewall feature is the problem, open Security > Analytics and the Events tab, filter for Googlebot or for the /robots.txt path, and look at the action and the Service that took it (Bot Fight Mode docs). In AI Crawl Control, the Directives tab's Robots.txt availability table shows how often crawlers asked for your robots.txt and how many requests failed (status 400 or above); many failures point to a WAF or other security rule (Cloudflare's guide). The IP, rate limiting and /cdn-cgi/ rows come from Cloudflare's crawl error guide, and the Known Bots field from its custom rule example. A request claiming to be Googlebot is only Google if its reverse DNS name ends in googlebot.com and that name resolves back to the same IP, or if its IP is in Google's published ranges.

When should a page stay blocked by robots.txt?

When you blocked the URL on purpose because nobody should arrive at it from search, such as a login page or a staging host. Then the Blocked by robots.txt row is the report doing its job. The one thing to change is your sitemap: take those URLs out, so the row's All submitted pages view shows only blocks you did not intend.

Robots.txt is the wrong tool for keeping a page out of search results: it stops the crawl, not the indexing. For that job, see why noindex in robots.txt fails and what to use instead.

How common is Blocked by robots.txt? Data from 1,545 sites

Robots.txt blocks are rare, and on sites with many, they mostly sit in one folder. The base is the 1,545 sites connected to IndexMachine with at least one sitemap URL that had a URL Inspection state, as of November 19, 2026, and their 1,397,832 sitemap URLs; for each we took the latest URL Inspection state on record, not a live check. Fifteen properties were connected by two accounts and count once for each. We counted sitemap URLs in either robots.txt state (Blocked by robots.txt, or Indexed, though blocked by robots.txt). A few large sites hold almost all of these URLs, so we report sites as well as URLs. Aggregate counts only, with no site or URL named. Because their owners signed up for an indexing tool, these sites probably lean toward indexing trouble.

Sitemap URLs that robots.txt blocksSitemap URLsSites
All, in either state5,38924
On sites with exactly one1818
On sites with two or more5,3716
On those 6 sites, inside each site's most affected top-level folder5,3526
Ordinary page URLs (everything else)5,38120
Admin, account, cart, internal search or query-string URLs86
For comparison: sitemap URLs with a 403 or a server error (5xx)87660

What it shows:

  • Robots.txt blocks are rare. 24 of the 1,545 sites (1.6%) had a sitemap URL that robots.txt blocks, and 5,389 of the 1.4 million sitemap URLs (0.39%) were affected, most of them (94%) Blocked by robots.txt and the rest Indexed, though blocked by robots.txt. More sites had firewall or server trouble: on 60 (3.9%), sitemap URLs were in a 403 or server error state. For a block you did not write, check the firewall and the server too; our guide to why a URL is not on Google covers those errors.
  • It is one stray URL or one rule. 18 of the 24 sites had exactly one such URL. The other 6 held 99.7% of them, most on a few large sites, so count by site: on the median of those 6 sites, 98% of the blocked URLs sat in one top-level folder. That is what a rule matching more than intended looks like: fix the rule, not the URLs one by one.
  • Small share of each site. On the median affected site, 0.8% of its sitemap was blocked, and on 19 of the 24 it was under 3%.
  • Most looked like pages meant for search. On 20 of the 24 sites, the blocked URLs included ordinary pages; only 8 URLs, on 6 sites, were admin, account, cart, internal search or query-string URLs, and none were feeds or media files. So on most affected sites, the rule is the thing to change, not the sitemap.

Get the unblocked pages back on Google

Once the rule is gone, the pages still need a crawl, and Search Console takes those requests by hand, page by page, up to a small daily cap. IndexMachine does that part for you: Google's own Request Indexing in your own Search Console, on autopilot, through the IndexMachine Chrome extension, using your full daily Google quota on every site for the sitemap pages that still need it. Pages Google already shows as indexed are skipped, so no quota is wasted, and every requested page is tracked until it is on Google. Bing, Yandex and the other IndexNow engines get unlimited IndexNow. Of 1,841 pages requested, 1,418 (77%) were on Google, typically in about 3 days by our first check. For a page Google turns down, one click explains the likely cause and the fix in plain words. Daily reports, a weekly email report and 404 alerts come with it; pay once for lifetime access or subscribe.

Robots.txt fixed? Get those pages indexed

Sign in to a free IndexMachine account with Google to see which sitemap pages Google has not indexed on each of your sites, and why. Once the robots.txt rule is gone, turn on Google's own Request Indexing in your Search Console, on autopilot, plus unlimited IndexNow.

FAQs

Is Blocked by robots.txt bad for SEO?

It depends on which pages it lists. A blocked URL cannot be crawled, so Google cannot index or rank its content. For admin, cart or internal search pages that is the point, and Google's own help says such URLs are probably blocked on purpose. It is a problem only when the row lists pages you want in search, and those are usually the ones in your sitemap.

I fixed robots.txt. Why do my URLs still show Blocked by robots.txt?

Two delays sit between your fix and the report: Google keeps its copy of robots.txt for up to 24 hours, and each URL leaves the row only when Google tries it again. Confirm with Test live URL, use Request a recrawl in the robots.txt report, request indexing for the key pages and give Validate fix up to about two weeks.

Why is Googlebot blocked by robots.txt when I did not block it?

Because something other than you writes the file or answers for it: a plugin, your platform or a CDN such as Cloudflare. Open the robots.txt report and look at the version Google fetched: anything between the Cloudflare Managed content markers came from Cloudflare, not from your server. Then check that the Training policy is not set to Block, which also stops Googlebot, and look in Security > Analytics > Events for Googlebot requests that were blocked or challenged. A firewall that refuses your pages shows up as an access error such as Blocked due to access forbidden (403), not as Blocked by robots.txt. A 403 on robots.txt itself blocks nothing: Google treats it as a missing file.

What does Submitted URL blocked by robots.txt mean?

It is the old Index Coverage report's name for a URL that your sitemap lists but robots.txt blocks; Google's 2021 report update still calls these pages "submitted but blocked". Search Console now lists them under Blocked by robots.txt. Set the Page indexing filter to All submitted pages to see only sitemap URLs.

Elevate your digital presence

Getting your pages indexed by Google is the first crucial step in your search engine optimization journey.
Fix indexing issues. Let the SEO magic begin.

Try free, see which pages Google hasn't indexed

Free account. Import may take a while for big sites, Google rate-limits Search Console.

See pricing