Disallow stops crawling, not indexing. A blocked URL can still appear in search results if other pages link to it, listed without a snippet. To keep a page out of the index you need a noindex meta tag or header, which means the page has to be crawlable for Google to see it.
It is a public file of polite requests. Well-behaved crawlers honour it; anything malicious reads it as a directory of what you would rather people did not see. Never list admin paths, staging URLs, or private directories in it. Use authentication for anything that actually matters.
A clean robots.txt does not prove a crawler can reach you. Cloudflare and similar services block AI bots above this layer, on by default in some plans. Check your edge rules and your server logs too — that side of it is covered on our answer engine optimisation page.
How does a crawler decide whether robots.txt blocks a URL?
A crawler picks exactly one group in robots.txt, the most specific one that names it, and applies the longest matching rule inside it; Allow beats Disallow on a tie. Most robots.txt bugs are not typos but come from assuming the file is read top to bottom like a script.
Which robots.txt results do people get wrong?
The four robots.txt results people get wrong are an Allow that beats a shorter Disallow, a Googlebot group that overrides the wildcard group, a case mismatch that leaves a path unblocked, and a blocked URL that stays indexed. Run each through the tester above and check your instinct against the answer.
What are the most common robots.txt mistakes?
The most common robots.txt mistake Billion Game finds on live files is a staging Disallow: / shipped to production, followed by blocked CSS and JavaScript, Disallow used instead of noindex, and blocked URLs that hold backlinks. These are the failures that cost real traffic, roughly in the order of how often we see them.
Billion Game runs your work through the same instruments the best in-house teams use.
Licences are on us, and every export we pull from them is yours to keep.
Be wary of any agency whose reporting is a tool dashboard with their logo on it. Tools measure; they do not decide what matters, and every one of these will happily generate a hundred findings that change nothing. What you are paying for is the judgement about which three of those hundred are worth your developers’ time.
Robots.txt questions
The matching rules are genuinely counter-intuitive, so these are worth reading once properly.
If pages are not indexed and robots.txt is clean, the cause is elsewhere: rendering, canonicals, crawl budget, or quality thresholds. That is a technical SEO audit rather than a robots.txt problem.