GEOFixer guide · All guides
How does robots.txt control AI crawlers like GPTBot?
By the Ingenious AI team · Published 2026-11-14 · Reviewed 2026-11-14
Run the free audit first: GEOFixer fetches your real pages, scores their citability out of 100 and generates a ready-to-publish citable page — free for one domain, signed out.
Short answer
robots.txt is a plain-text file at your site's root that tells crawlers which parts of the site they may fetch. Each AI system has a named crawler — GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot — and a Disallow rule against that name means the corresponding engine cannot read your pages, and therefore cannot cite them. Many sites block AI crawlers without knowing it, through a blanket rule copied from a template or inherited from a previous platform.
How the rules actually resolve
A crawler reads robots.txt by finding the block that names it. If a block names GPTBot specifically, those rules govern GPTBot — including when a separate wildcard block for all crawlers says something different. An explicit agent block wins over the wildcard, a detail that cuts both ways: a site can allow everything in its wildcard block and still block GPTBot in a forgotten specific block, or carefully allow GPTBot while a wildcard Disallow quietly governs ClaudeBot because nobody wrote a ClaudeBot block at all.
The second mechanic is absence. A crawler with no applicable block, on a site with no restrictive wildcard, is allowed. That is why 'we never wrote a robots.txt' and 'we allow AI crawlers' produce the same practical result as a deliberate allow file — and why a missing robots.txt earns only a medium finding while an active block earns a high one. The dangerous states are the unexamined ones: template files shipped by themes, security plugins that add crawler blocks as a feature, and CDN dashboards where a single 'block AI bots' toggle rewrites the file.
The five names that matter for citations
For AI answer visibility, five user-agents decide most of your fate. GPTBot is OpenAI's crawler, feeding ChatGPT's knowledge of your site. ClaudeBot does the same for Anthropic's Claude. PerplexityBot serves Perplexity's answer engine, which cites sources prominently. Google-Extended is the control token for Google's Gemini and AI training and answer features — note it is a robots.txt token, not a crawling bot in its own right. CCBot belongs to Common Crawl, whose corpus feeds many downstream models and tools.
Blocking a name is a legitimate choice — some publishers block training crawlers while allowing answer crawlers, for example, and that nuance is exactly what per-agent blocks exist for. The failure mode is not blocking; it is blocking by accident, or blocking everything when you meant to block one thing. An audit that reports each agent's state separately — allowed, blocked, or no-robots — turns a vague worry into five yes/no decisions you can make deliberately.
Auditing your own file in ten minutes
Fetch yoursite.com/robots.txt and read it as a crawler would. Find every block. For each of the five AI names, ask: is there a block naming it, and does that block disallow the root? Then check the wildcard block the same way, because it governs every agent without a specific block. Note security plugins and CDN settings as suspects if the file on the server differs from what anyone remembers writing — the served file is the only one that counts.
Then decide, per agent, what you actually want, and rewrite the file so the served rules match the decision with no leftover blocks. Explicit allows — naming the agent with an empty Disallow — remove all doubt, because they override inherited wildcard restrictions for that agent. Finish by re-checking the live file, not the draft: deployment pipelines and CDN caches have embarrassed more audits than any syntax error.
How GEOFixer checks this on your real pages
GEOFixer fetches your robots.txt during every audit and computes each AI crawler's state deterministically from the served file, resolving specific blocks against the wildcard exactly as described above. If the file is missing, you get a medium finding. For every blocked agent you get a high-severity finding naming it — 'robots.txt blocks GPTBot' — with the fix: remove the Disallow, because a blocked crawler cannot cite what it cannot read. GEOFixer's own robots.txt explicitly allows GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot and Applebot-Extended.
Worked example
A fictional worked example with concrete numbers. An online retailer's audit reports three high findings: GPTBot, ClaudeBot and PerplexityBot are all blocked, although the owner never wrote any block. The trail leads to a security plugin installed two years earlier, whose 'discourage AI scrapers' default had written a combined block into robots.txt. The owner replaces it with explicit allows for the five answer-related agents while keeping a block on a generic scraper she genuinely dislikes. The re-audit shows all five AI agents allowed, the three high findings close, and the site's citability score climbs from 44 to 58 on that single file change — the cheapest thirteen points the site ever earns.
Your 5-action checklist
- Fetch your live /robots.txt — the served file, not a draft or a settings screen.
- For GPTBot, ClaudeBot, Google-Extended, PerplexityBot and CCBot, determine allowed or blocked, resolving specific blocks over the wildcard.
- Hunt for inherited blocks from security plugins, themes and CDN toggles if the file surprises you.
- Rewrite the file so each agent's state matches a deliberate decision, using explicit allows to remove doubt.
- Re-audit and confirm every agent you intended to allow now reads as allowed.
Frequently asked questions
If I have no robots.txt, are AI crawlers blocked?
No. With no file, there are no rules, and crawlers may fetch your public pages. An audit still flags the missing file at medium severity because an explicit file removes ambiguity — especially the ambiguity a future plugin or migration might introduce.
What is the difference between blocking GPTBot and blocking Google-Extended?
GPTBot is a fetching crawler: blocking it stops ChatGPT's crawler reading your pages. Google-Extended is a control token: it governs whether Google may use your content for Gemini and AI features, without affecting ordinary Google Search crawling, which follows Googlebot rules.
Can I allow answer engines but block training crawlers?
Yes — that is precisely what per-agent blocks are for. Allow the answer-related agents you want citations from, and disallow specific training crawlers such as CCBot if that is your policy. The mistake to avoid is a blanket block that sweeps up both groups.
I changed robots.txt but the audit still shows a block. Why?
Usually caching or a second author of the file: a CDN may serve the old file, or a plugin may regenerate its block on each deploy. Verify by fetching the live URL with a fresh request, then check plugin and CDN settings for anything that rewrites robots.txt.
Does GEOFixer check robots.txt on every audit?
Yes. Crawler access is the first gate of citability, so every GEOFixer audit fetches the live robots.txt, resolves each named AI agent's state, and reports blocks as high-severity findings with the fix written out.
Keep reading
- All GEOFixer guides
- Run the free GEOFixer audit
- GEOFixer pricing — Free, Pro ($59/mo) and Agency ($149/mo)
- GEOFixer for agencies
- What is a citability score?
- Why is my website not being cited by AI?
- How do you write an llms.txt file, step by step?
- How does FAQPage schema help AI citations?
- What Article schema should a page carry for AI engines?
- How should headings be structured for AI extractors?
- Why do publish and update dates matter for AI citations?
- What is the best title tag length for AI snippets?