URL blocked by robots.txt: check the rule and URL

AISEO Site editorial · Workflow updated

Read the conclusion first

Check the robots file for the exact protocol and host, then distinguish fetch success, parsing and rule matching. The native report shows Google's fetched version; your live file may be newer. Robots restrictions are crawl instructions, not authentication or a dependable removal method.

Applicable conditions

Applies to crawler blocking, file fetch failures, and rule changes.

Before you open the report

The complete URL, each relevant robots.txt response and the crawler group/rule under review.

Use one concrete URL or report first. Keep account credentials and private visitor data out of shared notes.

Steps and verification

01

Locate the relevant host and version

Derive the robots address from the affected page's protocol and host, for example https://shop.example.com/robots.txt. A root-domain file is not inherited by another subdomain. Check the native report in an eligible domain-level property and preserve its fetch time and result.

Open the live file and compare contents with the reported version. A missing report for a directory-prefix property is not evidence of a failed file. If a file is absent by design, distinguish that state from server failures or an unintended application fallback.

02

Test rules against concrete positive and negative paths

List important HTML pages, required resources and deliberately restricted paths. Test them against the applicable crawler group and save the matching rule. A rule for /private/ and a rule for / have very different effects; broad template changes deserve several path examples.

Parsing success does not prove the desired paths are allowed. Check warnings and errors in Google's fetched file, and compare the real live response. Never put secrets into robots.txt: the file is public and its rules do not enforce access control.

03

Release and verify the changed policy

Back up the original file, deploy the narrow correction and retest the positive and negative paths. Keep necessary resources reachable for public pages and maintain authentication for private content. Check any CDN cache that can preserve the old response.

For a critical fetch or rule repair, use the native recrawl option where appropriate and record whether Google fetched the new version. That outcome does not guarantee immediate crawling or indexing of newly allowed pages. Close with the file version, rule tests and observed Google state.

Common mistake: Think it is safe just by writing private paths into robots

Rules are public and not enforced by all visitors; private resources need authentication.

How to decide when you encounter different situations

Match your actual observation to a row before changing the page. If it does not match, collect the missing evidence first.

What you seeNext stepHow to confirm
Root domain and www files differCheck host configurations separatelyTest the corresponding URL rules
CSS/JS mistakenly blockedAllow the rendering resources neededMobile body content actually renders
Report is still an old versionCheck deployment and cacheRecord Google fetch time

Check the host and protocol that actually serve the URL

Teaching scenario. Names, URLs and numbers illustrate the method; they are not customer or measured site results.

What you observe
Example: example.com/robots.txt permits a path, but www.example.com/robots.txt blocks it. The affected page is on www.
What it establishes
A rule on one host does not establish the rule for another. Reporting and cache timing can also explain a difference after deployment.
What to do next
Test the robots response for the actual page origin and applicable crawler group. Check needed CSS/JS separately so an allowed HTML page can still render.

What counts as a checked result

Save the rule text, response status and deployment time. Compare the later Google fetch timestamp rather than assuming its cached file updated instantly.

If a required check fails, keep the error and return to the matching decision branch. A blank record means unverified, not passed.

Leave with a checked result, not another vague instruction

Your deliverable
A host-specific version record with positive and negative rule tests.
Stop and resolve this first
Do not edit a root-domain file expecting every subdomain to inherit it.

Record missing evidence in the worksheet below. An unresolved test is useful information; a blank field is not a pass.

Checklist for this page

Fill in your own check results, then decide the next step. Blank means not yet verified, not normal. Content is saved only in the current local session and is not submitted to the server or AI.

Frequently asked questions

Can it be used to block indexing?

It controls crawling, not a reliable index removal method.

Is robots.txt a legal or security access restriction?

No. It describes crawler preferences. Protect private resources with actual access control.

Official materials and usage boundaries

This page provides operational judgment and checking methods, and does not show customer success cases. Calculation examples and request samples are teaching materials, not actual website metrics. Google's reports, conditions, and interfaces may change; please refer to the current official documentation.

Read the corresponding Google official documentation

Robots report scope, versions and recrawl ↗

Robots location and limitations ↗

Continue with the relevant tool

Record the rule you changed and the exact URL tested in AISEO Site. Close the task only after checking the deployed robots file and intended access.

See how it works →