Blocked by robots.txt: What It Means and How to Fix It

"Blocked by robots.txt" means a rule in your site's robots.txt file told Google not to fetch the page. Fix it only if you wanted that page in Google. If the block was deliberate, such as a login, cart or admin page, leave it. If customers should find the page, remove the rule or make it narrower.
What does "Blocked by robots.txt" mean?
robots.txt is a small text file at the root of your site, at yourdomain.com/robots.txt, that tells crawlers which addresses they may visit. "Blocked" means one of its rules covers this page, so Google did not fetch it. Google's help adds a warning: a block "does not guarantee that the page won't be indexed through some other means."
That warning matters. Google says robots.txt is used "mainly to avoid overloading your site with requests; it is not a mechanism for keeping a web page out of Google." The file controls crawling, not whether a page can appear in results.
Should you fix "Blocked by robots.txt"?
Look at what is blocked before you change anything. A block may be there on purpose, and some platforms add blocks for you. Unblock only pages you want people to find in Google. Everything else on the list can stay blocked; Google itself says blocked addresses are "probably intentionally blocked".
What is blocked | Fix or leave | Why |
A login, account, cart or checkout page | Leave | There is nothing there for a searcher |
Admin or internal system addresses | Leave | Your platform blocks them on purpose |
Search results or filtered lists on your own site | Leave | They repeat content found elsewhere on the site |
A service, product or blog page | Fix | A rule is catching a page customers should find |
Every page on the site | Fix now | A rule such as "Disallow: /" is closing the whole site |
A page you want kept out of results | Change the method | Use noindex instead; robots.txt does not keep pages out |

From Capron Media: the free Lite subscription

Is your site in good shape? See it in plain words
See what on your site needs fixing, counted by urgency, with the top three in plain words. Lite does not include the work on your site. Starter does.
How to read a robots.txt file in two minutes
Open yourdomain.com/robots.txt in a browser. The file is a list of groups. Each group starts with a User-agent line naming the crawler it applies to, where an asterisk means every crawler, followed by Disallow lines for paths it may not visit and Allow lines for paths it may. A Sitemap line can point to your sitemap.
This group lets every crawler in, except to one folder:
User-agent: *
Disallow: /checkout/
This group closes the whole site to every crawler, Google's search crawler included. It is the trap to look for:
User-agent: *
Disallow: /
Three details catch owners out. Paths are case-sensitive, so a rule for /Blog does not cover /blog. When two rules conflict, Google follows the more specific one, and where they are equal, the less restrictive one. And Google can keep a copy of your file for up to a day, so a change is not read the moment you save it.

Blocking is not hiding: why a blocked page can still show up
A blocked page can still appear in Google if other sites link to it. Google will not fetch it, but it can list the address from what those links say about it, and Google says any description will probably be very limited. Search Console calls that "Indexed, though blocked by robots.txt", and robots.txt is the wrong tool for keeping a page out.
To keep a page out of results, Google's advice is to remove the robots.txt block and add a noindex instruction instead. The order matters: Google can only see noindex on a page it is allowed to fetch. Our guide to the "Excluded by 'noindex' tag" status explains noindex in full.
How to find the blocking rule
Search Console tells you that a page is blocked; a robots.txt testing tool tells you which line does it. Google's own help walks through both, in this order. The last step is the one that confirms Google is reading your current file, not an older copy.
In Search Console, open Indexing, then Pages, and click "Blocked by robots.txt".
Inspect an address you want found. If Page indexing says "Blocked by robots.txt", the block is confirmed.
Open yourdomain.com/robots.txt and find the Disallow line whose path matches the start of that address.
If you cannot see it, paste the address into a robots.txt validator; it names the rule.
Check Search Console's robots.txt report for problems Google found in the file.
How to fix "Blocked by robots.txt", step by step
Change the rule, not the page. Remove the line that blocks the page, or narrow it so it blocks only what it was meant to. Then test the file and ask Google to look again. If your platform does not let you edit robots.txt directly, the fix is a setting instead; see the platform section.
Find the blocking line (previous section).
Decide: delete it, or rewrite its path so it covers only the pages that should stay blocked.
Make the change in your platform's robots.txt editor or setting.
Open yourdomain.com/robots.txt and confirm the live file shows your change.
Test the page's address in a robots.txt validator, or with URL Inspection's live test.
Click Request indexing for the page you unblocked.
Step 4 is the easiest one to miss. An edit saved in a dashboard is not proof the live file changed; read the file itself.

Fixing it on Wix, WordPress, Squarespace and Shopify
Each platform handles robots.txt differently: some give you an editor, one gives you only a switch, and one makes you edit a theme file. The names below come from each platform's help pages as they read on November 2, 2026. Read your platform's paragraph before changing anything, because a wrong rule can hide a whole site.
Wix. Go to SEO & GEO in your dashboard, scroll to Tools and settings, click Robots.txt Editor, then View File. Edit the directives under "This is your current file", click Save Changes, then Save. Wix's file lets search bots reach all of your pages by default; Wix's help warns that editing it "may cause issues with your site's pages appearing in search results."
WordPress. WordPress serves a robots.txt for you when there is no file on the server, and it blocks the admin area. If a real robots.txt file exists on your server, that file is what Google reads instead, so check it. The Settings, Reading option "Discourage search engines from indexing this site" now adds a noindex tag rather than a robots.txt block, from WordPress 5.3 on.
Squarespace. You cannot edit Squarespace's robots.txt; every Squarespace site uses the same file, and Squarespace says the restrictions Search Console reports for it are normal. The one switch that matters is in Settings, then Crawlers: if "Block Search engine crawlers" is checked, Squarespace adds a rule that closes your whole site.
Shopify. Shopify's default file works for most stores, its help says. To change it, go to Online Store, open the theme's Edit code, click Add a new template, select robots, and edit the robots.txt.liquid file. Shopify calls this an unsupported customization and warns that a mistake "can result in loss of all traffic."
What about "Indexed, though blocked by robots.txt"?
That is a separate warning, and the reverse case: Google indexed the page without fetching it, because links elsewhere told it the page exists. If you meant to block it from search, swap the robots.txt rule for noindex. If you did not, remove the rule. Shopify's help calls the warning normal for many blocked store pages.
How to confirm the fix (and how long it takes)
First confirm the live file: open yourdomain.com/robots.txt and look for your change. Then run URL Inspection's live test on the page; it should no longer report a robots.txt block. Allow for Google's copy of the file to refresh, which can take up to a day, before expecting the report to change.
After that, the page still has to be crawled and indexed like any other. Request indexing for the most important page you unblocked. For a long list, click Validate fix on the row once; it moves from Started to Passed or Failed, and Google says validation "typically takes up to about two weeks." Pages you blocked on purpose will stay on the list, which is correct.
Other "page not indexed" reasons, and how robots.txt relates to each
robots.txt acts before Google reads anything, which is what sets this status apart. Most other reasons need Google to have read the page first. Two of them can be confused with this one, noindex and redirects, so the table says plainly how each one differs from a robots.txt block.
Status | How it relates to a robots.txt block |
Excluded by 'noindex' tag | The right tool for keeping a page out; it only works if robots.txt allows the page |
Discovered - currently not indexed | Google also has not fetched the page, but because it chose to wait, not because a rule stopped it |
Crawled - currently not indexed | Google fetched the page, so robots.txt did not stop it |
Page with redirect | Google followed the address on to another page |
Soft 404 | Google fetched the page and found it empty |
Alternate page with proper canonical tag | A copy Google read and filed under its main page |
Duplicate without user-selected canonical | A copy Google read and chose between on its own |
Duplicate, Google chose different canonical than user | A copy Google read and judged against your choice |
To see a robots.txt file explained line by line on a real site, our guide to why a website is not showing up on Google quotes ours, dated.
Ways to check robots.txt before Google reports a problem
A single wrong line in robots.txt can close a whole section of a site, and Search Console only reports it once Google has tried to crawl. Checking the file yourself after any change catches it first. These options range from reading the file in your browser to a full review of the site.
Option | What it shows about robots.txt | Cost |
Your browser | The live file at yourdomain.com/robots.txt | Free |
Search Console's robots.txt report | Whether Google can fetch your file, and problems with its rules | Free |
URL Inspection | Whether one address is blocked | Free |
A crawler, such as Screaming Frog | Which pages robots.txt blocks, among those it crawls | Free version crawls up to 500 URLs, as of November 2, 2026 |
Capron Media (ours) | Free check, with a free Lite subscription: a short, plain read of a website: what to fix first across the site, on its home page, and in its local results | Free |
For every finding across your site, with how to fix each, the SEO Audit is on our SEO audit services page; a person checks it before it reaches you, and our pricing page has the cost. How an SEO audit works, and what a technical SEO audit adds, are in our guides.
Questions about robots.txt
Where can I find the robots.txt file on my website?
At the root of your domain: type yourdomain.com/robots.txt into a browser. Google requires the file to sit there, in the top-level directory of the site, so that is the only place crawlers look for it.
Do all websites have a robots.txt file?
No, and a site works without one. If there is no file, crawlers treat the whole site as open. Site builders such as Wix, Squarespace and Shopify create one for you.
What is a robots.txt file used for?
Mainly to manage how crawlers use your site: to keep them away from addresses with nothing useful for search, such as carts and admin pages, and to point them to your sitemap. It is not for keeping a page out of Google.
How can I validate a robots.txt file?
Use Search Console's robots.txt report for a file that is already live on your site, or a robots.txt validator for any address. Both tell you whether a given address is allowed or blocked.
From Capron Media: the free Lite subscription

After a change, see which searches moved
See which searches moved up and which moved down since the last check. Lite does not include the work on your site. Starter does.
Written by Spencer Capron, founder of Capron Media, a Middleborough, Massachusetts SEO service for small business owners. Spencer is HubSpot SEO II certified, holds CompTIA Security+, and has run recurring SEO programs for 30+ small-business clients. He wrote this post in collaboration with our AI agents, and he reviews everything published here.





Comments