Free auditStart free
GuideSEO issue · Crawlability

Page blocked by robots.txt

Find the robots.txt rule blocking an important URL, understand why a blocked URL can still appear in Search, and verify the corrected crawl access.

5 min
read
5
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

A robots.txt block prevents compliant crawlers from fetching a matching URL. It does not reliably remove that URL from Google Search: Google can still know the URL from links and may show it without a snippet. Find the matching rule and scope, remove only the unintended block, then test the URL. Use noindex or authentication when the goal is to keep content out of Search.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01How it works

Check the block in two minutes

  1. 1

    Open the right robots.txt file

    Fetch /robots.txt on the exact protocol and host serving the affected page. https://example.com/robots.txt and https://www.example.com/robots.txt are different files, and each file's rules apply only to its own host, protocol, and port.

  2. 2

    Find the applicable crawler group

    Locate the User-agent group matching Googlebot, then read its Disallow and Allow paths. Google applies the most specific matching user-agent group; a specific Googlebot group can take precedence over User-agent: *.

  3. 3

    Match the URL path exactly

    Compare the path's capitalization and directory boundaries. Google treats paths as case-sensitive and uses the most specific matching rule; when matching rules conflict, it uses the least restrictive rule.

  4. 4

    Test the page in Search Console

    Use URL Inspection on the affected URL and review the Page Indexing and Crawl Stats reports. Check the rendered page and crawl access after correcting a rule.

A rule such as Disallow: /products can match more than a /products/ folder. Google's own /fish example shows a path without a trailing slash matching /fish, /fish.html, /fish/salmon.html and /fishheads, so /products also matches /products.html, /products/item and /products-old. The /fish/ form matches only that folder. If only the folder should be blocked, use /products/ and test important URLs around it.

02Choose the control that matches your goal

Confirm whether robots.txt is the right control

Goal

Stop crawling a path

Use
A carefully scoped robots.txt Disallow rule
Why
It asks compliant crawlers not to request matching URLs.
Goal

Keep a public page out of Google Search

Use
Allow crawling and return a noindex meta tag or X-Robots-Tag header
Why
Google must fetch the page to see the indexing directive; a robots.txt block can hide it from the crawler.
Goal

Keep private data private

Use
Authentication or server-side access control
Why
robots.txt is public and does not enforce access. Other crawlers may ignore its instructions.
Goal

Allow a blocked page and its resources

Use
Remove or narrow the matching block, then test the page
Why
Google needs access to the page and important resources to render and understand it.
Goal

Reduce low-value crawling on a very large site

Use
Review crawl inventory before blocking duplicates or unimportant paths
Why
A broad rule can hide useful pages or resources along with the URLs you meant to exclude.
Two Page indexing reasons that mention robots.txt
ReasonWhat Search Console saysWhat to do
URL blocked by robots.txtThe page was blocked by your robots.txt file. This does not guarantee the page won't be indexed some other way; there is a very small chance it might still be indexed.If the block is a mistake, remove or narrow the rule. To keep the page out of Google, remove the block and use noindex.
Indexed, though blocked by robots.txtGoogle indexed the URL despite the block, using information from pages that link to it. Any snippet will probably be very limited.To keep it out of Search, remove the block and use noindex. To keep it in Search, unblock it.

A blocked URL can still appear in results if Google learns about it from links. Google says such a result won't have a description because it cannot fetch the page. If your intent is removal, see the noindex guide; if the block is accidental, correct the robots.txt rules.

03Checklist

Find the source of an accidental block

First3
Release or staging rule: a development Disallow: / may have shipped to production. Compare the deployed file with the intended production version.
Overbroad directory: a rule intended for /search/ or /private/ may also match public content because its path prefix is broader than expected.
Wrong host or protocol: editing one host's file does not change rules served by another host, subdomain, or protocol.
Next2
Case mismatch: /Catalog/ and /catalog/ are different path matches for Google.
Blocked rendering resource: CSS, JavaScript, image, or API paths may be needed for Google to understand the page. Block decorative or unimportant resources only when losing them does not change the rendered meaning.
Then2
robots.txt itself failing: Google treats 4xx responses for robots.txt, except 429, as if no file exists, so it assumes no crawl restrictions. If a 5xx prevents the fetch, Google stops crawling the site for the first 12 hours, then uses the last good version for up to 30 days.
Incorrect expectation: robots.txt is a crawler request policy, not a privacy boundary or guaranteed deindexing method.

For a store, test product and category paths as well as cart and account routes. For a SaaS site, check marketing pages separately from authenticated application paths. A single wildcard can affect both when routes share a prefix.

04How it works

Verify the change safely

Keep sitemaps consistent with the pages you want considered for indexing: the Page indexing report lists a sitemap that includes URLs blocked by robots.txt, noindex or a login as one cause of error spikes. Google also generally caches robots.txt for up to 24 hours, and longer when it cannot refresh the file, so a fix may not show up immediately. For the distinction between crawl discovery and indexing, read Googlebot and the XML sitemap guide.

  1. 01

    Make the smallest rule change

    Edit only the crawler group and path that caused the unintended match. Keep sensitive areas protected by authentication, not by relying on a public robots file.

  2. 02

    Test positive and negative examples

    Check one URL that should now be crawlable and one URL that should remain blocked. Include path case, trailing slash, and neighboring route patterns.

  3. 03

    Inspect the live page

    Use Search Console URL Inspection to confirm Google can access the URL and its important rendered resources. Review Crawl Stats or server logs if the issue affects many URLs.

  4. 04

    Watch indexed state separately

    A crawl fix does not guarantee indexing. If a previously blocked URL should appear in Search, let Google recrawl it and inspect its indexing state; confirm it returns a successful response and has indexable content.

Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

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

Yes. Google may know the URL from links even though it cannot crawl the page. It may show the URL without a snippet. Use noindex with crawling allowed, authentication, or remove the page if you need to keep it out of Search.

02Does robots.txt protect private pages?

No. The file is public, and its instructions do not enforce access. Use authentication or server-side access controls for private content.

03How do I test a robots.txt fix?

Fetch the file from the affected host, check the exact crawler group and path match, then use URL Inspection to verify Google's live access to the URL and required resources.

Sources · 5

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Robots.txt introduction and guidedevelopers.google.com · checked 2026-10-24
  2. 02How Google interprets the robots.txt specificationdevelopers.google.com · checked 2026-10-24
  3. 03Block Search indexing with noindexdevelopers.google.com · checked 2026-10-24
  4. 04Page indexing reportsupport.google.com · checked 2026-10-24
  5. 05Google Search technical requirementsdevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane