GEO
AI Crawler Access Policy: What to Allow, What to Block, and Why
An AI crawler access policy is the set of robots.txt rules, edge rate limits and user-agent decisions that determine which bots may read your site and for what purpose. The practical split is training versus retrieval: allow retrieval agents such as OAI-SearchBot and PerplexityBot if you want citations, and decide separately whether training crawlers like GPTBot, ClaudeBot or CCBot deserve your bandwidth.
What an AI crawler access policy actually decides
An AI crawler access policy is three decisions in one place: what robots.txt declares, what your edge or web server enforces, and what content you expose to each class of bot. The tempting shortcut is one global 'block AI' switch. It fails because 'AI crawler' is not a single user-agent. OpenAI runs GPTBot for training, OAI-SearchBot for search-style retrieval that produces links in ChatGPT, and ChatGPT-User for fetches a person triggers explicitly. Anthropic separates ClaudeBot from Claude-Web for the same reason. Google-Extended governs Gemini app and Vertex AI use, not normal Search indexing. A policy that groups all of these together either gives away more than you intended or removes you from the answers people actually read. I treat retrieval as the visibility layer and training as the optional one.
The user-agents worth naming explicitly
Naming agents correctly is the whole job. robots.txt matches user-agent tokens case-insensitively, and an exact token is safer than a pattern: a broad rule such as User-agent: bot hits almost every crawler on the web. Rules are grouped under a user-agent line, and the most specific matching group is the one a compliant bot applies. The practical list is shorter than the headlines suggest. Separate training crawlers from retrieval crawlers, then separate both from user-triggered fetches, which happen only because a person asked a model to open a page. Ignoring that distinction is how sites end up invisible in answers they could have been quoted in. I keep the list in one PHP array so the robots.txt output and the edge rules cannot disagree.
- GPTBot — OpenAI training; blocking it does not remove links from ChatGPT search results
- OAI-SearchBot — OpenAI retrieval that surfaces links in ChatGPT; ChatGPT-User handles explicit fetches
- ClaudeBot and anthropic-ai — Anthropic training; Claude-Web is the retrieval agent
- PerplexityBot and Perplexity-User — answer indexing and on-demand page fetches
- Google-Extended and Applebot-Extended — model training toggles, not Search ranking controls
- CCBot, Bytespider and Amazonbot — Common Crawl and third-party bots with separate cost profiles
Allow versus block: a decision rule, not a blanket switch
Choose by purpose, not by brand. If you want your answers quoted, the retrieval layer has to stay open: OAI-SearchBot, PerplexityBot, Claude-Web and the user-triggered fetchers. Training crawlers are a different question. Public technical writing has little to protect, so in my builds I usually allow them and accept the bandwidth; licensed docs, paywalled material and thin generated pages are where a block makes sense. Staging and preview hosts belong behind HTTP auth, with Disallow: / as a backstop. One trap: Disallow stops future crawling, it does not delete an indexed URL. To remove a page you must let a crawler fetch it and see a noindex tag. Blocking first and asking removal later often leaves the stale page in the index.
- Allow OAI-SearchBot, PerplexityBot, Claude-Web and ChatGPT-User if citations matter
- Decide on GPTBot, ClaudeBot, CCBot and Google-Extended as a separate training choice
- Block staging, preview and query-parameter URLs at the server, not just in robots.txt
- Keep Googlebot, Bingbot and Applebot untouched — they drive ordinary Search traffic
- Do not assume robots.txt removes an already indexed URL; it only stops future crawling
- If a page must disappear, allow the crawl once and serve a noindex tag
Rate limits, crawl-delay and the real bandwidth cost
Crawler traffic is cheap until it is not. A well-cached WordPress page served as static HTML costs a few kilobytes of transfer and a cache hit; a client-rendered page-builder document with uncached database queries can turn the same bot visit into real CPU. Start with Crawl-delay: 2 for bots that honor it — Bingbot and several others do, Googlebot ignores the directive entirely. For genuine abuse, enforce at the CDN: one rate-limit rule per verified user-agent group, returning 429 with Retry-After: 300 instead of a silent drop. Never throttle by IP alone, because shared proxies and mobile carriers will block real visitors. Keep the HTML payload small and log user-agent, status and bytes so you can see which group actually costs you money.
- Crawl-delay: 2 in robots.txt is honored by some bots; Googlebot ignores it
- Return HTTP 429 with Retry-After: 300 to abusive bots rather than a silent block
- Rate-limit by verified user-agent group, not raw IP — shared proxies cause false positives
- Keep server-rendered HTML under roughly 100 KB so crawler traffic stays cheap
- Log user-agent, status and bytes per request; review the top 20 agents weekly
What hiding content costs in answer engines
The cost of a blanket block is measured in absence. Answer engines cite pages they have crawled and can verify; if OAI-SearchBot or PerplexityBot gets a 403 on your answer page, the model quotes somebody else. That absence compounds: no citation, no entity association between your name and the topic, and no referral visit when a reader follows the claim. Competitors who stay crawlable become the default source in comparison answers. A training-only block is cheaper than people assume — blocking GPTBot does not hide you from ChatGPT search links — so an all-or-nothing policy usually gives up visibility without buying privacy. If the content is public and accurate, the rational default is to allow retrieval and monitor the cost rather than guess.
- No citations in ChatGPT, Perplexity or Copilot answers for blocked retrieval paths
- No entity association between your brand and the topic you want to own
- Competitors who stay crawlable become the cited default in comparison answers
- Referral traffic from answer engines disappears or shows up as unattributed direct traffic
- A training-only block does not buy citation invisibility — that is a separate decision
Implementing the policy in WordPress and PHP
In WordPress the policy belongs in code you control. WordPress serves a virtual robots.txt, so use the robots_txt filter in a small mu-plugin rather than editing a file in core. I keep one PHP array of allowed and blocked tokens, render robots.txt from it, and mirror the same groups into the CDN rules so the two cannot drift. Use the wp_robots filter when a single URL needs noindex. Generate llms.txt from the same page registry that feeds sitemap.xml — a short list of your best answer pages; it is a convention some tools read, not a ranking signal. Keep the answer in server-rendered HTML, because a GSAP animation or a client-side widget is invisible to a crawler that never runs JavaScript.
- Use the robots_txt filter in a mu-plugin — WordPress serves a virtual robots.txt, so never edit core
- Define one array of allowed and blocked user-agents and render both robots.txt and edge rules from it
- Enforce abusive traffic at the CDN: one rule per user-agent group, with 429 and Retry-After
- Generate llms.txt from the same page registry that builds sitemap.xml; treat it as a convenience, not a ranking signal
- Use the wp_robots filter for per-URL noindex instead of relying on Disallow alone
- Keep JS-rendered content in the server HTML so crawlers see the same answer visitors read
Verify, monitor and revise
Verification takes minutes and should happen after every rule change. Request the same URL as several agents with curl and compare status codes and served bytes; a blocked GPTBot and an allowed Googlebot should differ only where you intended them to. Check the robots.txt report in Google Search Console and Bing Webmaster Tools, then read raw access logs for the user-agents you actually serve. Watch 429 counts, cache hit ratio and CPU before and after tightening limits — a rule that saves bandwidth but slows discovery is a bad trade. I'm Saif Al Jahan, a WordPress and PHP developer in Mymensingh, Bangladesh, and on webdev-saif.com I review this list quarterly because new crawlers appear faster than most policies are updated.
- curl -A "GPTBot" -I https://webdev-saif.com/ and compare status with a Googlebot request
- Check the robots.txt report in Google Search Console and Bing Webmaster Tools
- Watch 429 counts, cache hit ratio and CPU before and after tightening limits
- Review the user-agent list quarterly — new bots appear every few months
- Treat llms.txt and schema as supporting signals, never a substitute for crawlable answers
Frequently asked questions
Does blocking GPTBot stop ChatGPT from citing my pages?
No. GPTBot is OpenAI's training crawler; a block removes your pages from training, not from ChatGPT search results. Link surfacing in ChatGPT uses OAI-SearchBot, and a page fetch a person explicitly requests uses ChatGPT-User. If you want citations, keep those retrieval agents allowed, serve answer-first HTML, and verify with a curl request using each user-agent token.
Does Google-Extended affect AI Overviews or my Google rankings?
No. Google-Extended controls whether content is used for Gemini apps and Vertex AI model training or grounding. It does not remove a page from Google Search or from AI Overviews, which follow ordinary Googlebot indexing rules. Blocking it can cut off one generative surface while leaving your Search traffic intact, so treat it as a separate decision from rules for GPTBot or ClaudeBot.
What is a sensible crawl-delay for a small WordPress site?
Start with Crawl-delay: 2 in robots.txt. Some crawlers honor it, but Googlebot ignores it, so it is a courtesy rather than a guarantee. For real control, rate-limit at the CDN per user-agent group and return 429 with Retry-After: 300. On a small site, over-throttling delays discovery of new pages more than it saves bandwidth.
Is robots.txt enough to stop AI scrapers?
No. robots.txt is advisory: compliant bots follow it and scrapers ignore it. Enforce with CDN or WAF rules keyed to verified user-agent tokens and behavior, plus rate limits and a challenge page. Never use robots.txt to protect private or licensed content — put that behind authentication, because a Disallow line is a request, not a lock.
Should I publish an llms.txt file?
Optional. It is a plain-text convention that some tools read; it is not a Google ranking factor and most answer engines simply crawl the web. Keep it short: a one-paragraph site description and links to your highest-value answer pages, generated from the same registry that builds sitemap.xml. The crawlable answer on the page still does the real work.
How do I know which AI bots actually visited my site?
Read your raw access or CDN logs and group requests by user-agent token — GPTBot, OAI-SearchBot, PerplexityBot and ClaudeBot should each be counted separately. Google Search Console only shows Googlebot. In my builds I check the top twenty agents weekly before changing any limit, because a bot you never measured is a bot you cannot budget for.