Website checks

How to check whether robots.txt is blocking your business website

A robots.txt problem can be easy to describe and risky to fix badly. The useful question is not “Should I allow every bot?” It is “Can the intended crawler access the public page we want people to find?” This guide helps a business owner collect the evidence before a developer makes a narrow change.

By AIBizBuild editorial team · · 3 min read

Understand the three different controls

A robots.txt file tells cooperating crawlers which paths they may crawl. It is not a password and does not securely hide confidential information. A blocked URL may still be known to a search engine. A noindex instruction concerns indexing; access protection concerns who can retrieve the page.

Google also warns that a crawler blocked from a page may not be able to see that page’s noindex instruction. Keep those controls separate when diagnosing a missing public service page. Never treat a robots.txt disallow rule as protection for invoices or customer records.

Source: Google: robots.txt introduction

Collect the exact URL and symptom

Copy the full public page address and note what you expected to happen. Does the page load in a normal signed-out browser? Is a search tool reporting a crawl restriction, an indexing exclusion or a missing page? Those are different investigations. A screenshot saying “not indexed” is not enough to conclude that robots.txt is responsible.

Ask for the robots.txt file belonging to the same hostname. A website may use a main domain, a www version, subdomains and a protected preview. Do not edit the preview’s security settings merely because you want the published website indexed.

Read the rule in context

A broad disallow at the root is worth investigating, but a copied line by itself can be misleading. The surrounding user-agent group, path and more specific rules matter. Ask the developer to identify the crawler and URL affected by the complete file, then explain the intended behavior in plain English.

For example, your intended policy might be: public service pages are accessible; account pages remain protected; an obsolete staging domain stays private. That statement is a better review target than an unexplained replacement file downloaded from a marketing tool.

Make a limited, reversible correction

Save the existing file and identify how the platform generates it. Some platforms expose a setting or template instead of a directly editable server file. Make the smallest approved correction, publish through the normal process and keep a way to restore the previous configuration.

A useful developer ticket includes the public URL, observed error, intended crawler, current rule and acceptance check. Require confirmation that private routes have not become accessible. If the problem is actually a login wall or a hosting error, a robots.txt edit will not solve it.

Verify the result beyond the editor

Read the published file after saving and check the actual public page again. Keep the before-and-after evidence with the deployment date. Where you have authorized Search Console access, use its inspection information to distinguish the live page from previously recorded indexing information.

Do not promise an immediate ranking change after fixing a crawl problem. Your practical completion criteria are narrower: the intended public URL responds correctly, the intended crawler is no longer blocked by the identified rule, and private content retains its existing access controls.