Guides / Access
robots.txt blocks search engines from pages on the site
robots.txt controls crawling. One wrong line can close the whole site.
Why it matters
Before fetching anything else, a well-behaved crawler reads /robots.txt and follows it. A “Disallow: /” line under “User-agent: *” tells every crawler to stay out of every page.
A blocked page can still appear in results if other sites link to it, but with no title or description of yours, because the crawler was never allowed to read it. In practice a blocked site does not rank.
How to fix it
- Open the robots.txt file at the root of your site (or the SEO setting that generates it).
- Remove “Disallow: /” and any rule that covers pages you want found.
- Keep rules that block genuinely private areas such as /admin or /cart.
User-agent: *
Disallow:
Sitemap: https://www.example.com/sitemap.xmlHow we check it
We fetch robots.txt again and test every page we crawled against its rules using Google’s precedence (longest matching rule wins).
Where it sits in the plan
Stage 1 of 5, “Open the door”. These problems stop search engines from reaching or reading pages at all. Work on titles or speed is wasted on a page that cannot be indexed, so these come first.
Typical effort: about 10 minutes. In plain terms: edit your robots.txt file so it does not say “Disallow: /”.
Does your site have this problem?
Scan it and see the evidence from your own pages.