Skip to the content
Start free

robots.txt blocks Google from a page

A Disallow rule stops Googlebot fetching this page, so Google cannot read what is on it and may list the bare address without a description.

High priority robots.txt

Why it matters #

Googlebot reads robots.txt first and will not fetch an address that a Disallow rule covers. It then cannot see the words, the links or a noindex on the page. Google documents that a blocked address can still appear in its results, without a description, if other pages link to it.

Rules often block more than intended. "Disallow: /p" also blocks /products/ and /privacy/, and a leftover "Disallow: /" from a test site blocks everything. For each bot, the group that names it applies, and inside that group the longest matching rule wins. Google lets Allow win a tie.

How to fix it #

Find the line that decides it: our tools show the line number. If the page should be found, remove or narrow that rule, or add a longer Allow rule for the page in the same group. If you want the page out of Google, do not use robots.txt for that: allow crawling and add noindex instead.

Check the page again with Can Google Index This Page? and the Robots.txt Checker.

  1. Note the robots.txt line that blocks the page.
  2. Remove it, narrow it, or add a longer Allow rule.
  3. Save the file and test the page again.

What it looks like, and fixed #

The problem
User-agent: *
Disallow: /p

Meant for /private/, but it also blocks /products/, /pricing/ and every other path that starts with /p.

Fixed
User-agent: *
Disallow: /private/

The rule now covers only the folder it was meant for, so the page can be crawled again.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
My website [your website address] runs on [your platform, e.g. WordPress with Yoast]. A check says robots.txt stops Google fetching [the page address], which I want to be found in search. First read [your website address]/robots.txt (or ask me to paste it), work out which group applies to Googlebot, and find the exact line that blocks this page, remembering that the longest matching rule wins and Allow wins a tie. Explain in plain words why it matches and what else it blocks. Then give me the smallest change: narrow the rule, remove it, or add a longer Allow rule for this page in the same group. Rules: back up first, keep every other rule and Sitemap line, do not open admin, basket or account areas, and add no new blocks. Give me the complete new robots.txt to paste and where it goes. Finally, tell me to re-check with the URSY.com Can Google Index This Page? tool at ursy.com/indexability-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Edit robots.txt in your SEO plugin, or in the robots.txt file in the site root if there is one. Also check that Settings, Reading does not discourage search engines.

Shopify

Check the robots.txt.liquid template in the theme code for rules you or an app added. Leave the default Shopify rules unless you know you need a change.

Wix

Open the robots.txt editor in the Wix SEO settings and remove or narrow the rule that covers the page.

Webflow

Edit the robots.txt box in Site settings, SEO tab, then publish the site.

Check it is fixed #

Run the URSY.com Can Google Index This Page? tool (/indexability-checker/) on the page. It should say robots.txt allows Googlebot; then request indexing with URL Inspection in Google Search Console.

Official source #

Google Search Central: Introduction to robots.txt

Questions #

Can a page blocked by robots.txt still show in Google?

Yes. Google documents that a blocked address can appear without a description if other pages link to it.

How do I keep a page out of Google, then?

Let Google crawl it and add a noindex tag. robots.txt controls crawling, not whether an address is listed.

More problems in robots.txt

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com