robots.txt crawl permission

How robots.txt rules decide which pages Google may crawl, why blocking a page does not keep it out of search, and how to test a rule.

What AuditX checks

The scan fetches your robots.txt and tests the scanned page against its rules for Googlebot, the way Google applies them.

Why it matters

robots.txt tells crawlers which parts of a site they may fetch. A Disallow rule that is broader than intended, such as one left over from a staging site, can stop Google from crawling pages you want found.

robots.txt controls crawling, not indexing. A blocked page can still appear in results, without a description, if other sites link to it. To keep a page out of search, allow crawling and add noindex instead.

How to fix it

  1. Open yourdomain.com/robots.txt and read each Disallow rule under User-agent: * and User-agent: Googlebot.
  2. Remove any rule that blocks a page or folder you want in search.
  3. Do not block CSS and JavaScript files: Google needs them to render the page.
  4. Add a Sitemap line that points to your XML sitemap.
User-agent: *
Disallow: /cart/
Disallow: /account/

Sitemap: https://example.com/sitemap.xml

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.