Skip to content
All guides
2026-11-246 min read

AI Crawlers and robots.txt: Designing an Intentional Access Policy

Understand how search, retrieval, and training bots declare themselves in robots.txt and how to configure clear allow/disallow rules.

Related checks:F02G01G02G03G04G05G06

Search retrieval vs. model training bots

Modern AI platforms separate their crawlers into distinct user-agent tokens so site owners can choose different policies for live answer retrieval / search indexing versus offline model training.

Blocking every unknown bot indiscriminately often hides public documentation from AI search answers, while leaving everything open without review may expose private or low-value URLs.

Writing clear robots.txt directives

Keep /robots.txt valid, fast, and explicit about your canonical Sitemap:

User-agent: *
Allow: /
Disallow: /api/
Disallow: /admin/

# Example: explicitly allow retrieval bots while disallowing a training crawler
User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Disallow: /

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

Five practical rules to check

  1. Serve a real 200 or 404 on /robots.txt: Returning 5xx or blocking /robots.txt behind a bot challenge causes compliant crawlers to treat the entire site as disallowed.
  2. Avoid accidental Disallow: / on production: Staging configs frequently leak into production deploys; always verify your live robots.txt after every release.
  3. Remember group specificity: In RFC 9309, a bot that matches a named User-agent: block follows only that block and ignores the wildcard * group. Repeat critical Disallow: paths (such as /api/ or /checkout/) inside named groups if needed.
  4. Match robots.txt with page-level meta robots: Allowing a crawler in robots.txt while emitting <meta name="robots" content="noindex"> or X-Robots-Tag: noindex creates conflicting instructions.
  5. Verify WAF / CDN rules: Even with a permissive robots.txt, aggressive CDN challenges can return 403 or 429 to legitimate retrieval bots.

Inspect per-crawler visibility

GEOReady evaluates /robots.txt syntax (F02) alongside individual AI crawler verdicts (G01–G06) so you can confirm whether your live policy matches your intent.

Check your live site against these rules

Run a free rule-based readiness check to inspect your real HTTP responses, robots.txt verdicts, llms.txt structure, and JSON-LD evidence.