TECHNICAL FIX MANUAL / 01

Fix AI bot access in Cloudflare

A crawler can be allowed by your published policy and still receive a challenge, a rate limit, or an error before it ever reaches your site. Compare the two layers before changing rules.

Back to Firewall Check

Implementation checklist

  1. 01

    Run the firewall check on one affected public URL. Record the profile, time, HTTP status, and robots policy. Confirm that the domain and path in the result match the subdomain and route in your edge configuration.

  2. 02

    Review Cloudflare’s Block AI Bots or AI Crawl Control settings and Super Bot Fight Mode. Open Security Events and match the request time, path, action, and rule ID to identify the setting that produced the block.

  3. 03

    If a rule change is appropriate, use a narrow custom rule based on verified-bot information and the public paths you intend to expose. A user-agent value alone is not identity proof. Do not skip unrelated managed rules, authentication, or rate limits.

  4. 04

    Retest failed paths, then verify healthy live traffic in your logs. Keep training crawler groups separate and preserve existing robots.txt exceptions.

2026 AI Crawler & User-Agent Reference Matrix (Search vs. Training)

Compare common crawler and robots.txt tokens by provider, purpose, and recommended handling. Search and live-fetch access can be managed separately from model-training preferences.

Showing 13 of 13 bot references.

On narrow screens, scroll the table horizontally to see every column.

USER-AGENT / TOKENPROVIDERPURPOSEWHY IT MATTERSRECOMMENDATION
OAI-SearchBotOpenAIAI Search IndexPowers citations and links in ChatGPT SearchBlocking removes your site from ChatGPT answersAllow
GPTBotOpenAIModel TrainingCollects data for future foundation modelsBlocking stops training without hurting ChatGPT searchOptional / Block
ChatGPT-UserOpenAILive User FetcherVisits a URL in real time when a user asksHigh-intent live user trafficAllow
Claude-SearchBotAnthropicAI Search IndexBuilds Claude's web search indexNeeded for search visibility in ClaudeAllow
ClaudeBotAnthropicModel TrainingCollects web data for model trainingIndependent from Claude-SearchBotOptional / Block
Claude-UserAnthropicLive User FetcherFetches pages during live user chatsSupports real-time user citationsAllow
PerplexityBotPerplexityAI Search & GroundingIndexes pages for cited answersEssential for Perplexity citationsAllow
Perplexity-UserPerplexityLive User FetcherRetrieves pages on user promptDirect user-requested retrievalAllow
GooglebotGoogleSearch & AI OverviewsPowers Google Search & AI ModeNever block if you want Google or AI Overviews trafficAllow
Google-ExtendedGoogleTraining / Grounding Controlrobots.txt token for Gemini trainingDoes not affect Google Search or AI OverviewsOptional / Block
BingbotMicrosoftSearch & CopilotPowers Bing & Microsoft Copilot answersRequired for Copilot groundingAllow
Applebot-ExtendedAppleApple Intelligence TrainingControls AI training usageDoes not block standard Siri/Spotlight searchOptional / Block
CCBotCommon CrawlOpen Training CorpusFeeds many third-party LLM datasetsPure dataset scraping; no direct search trafficOptional / Block
View recommended robots.txt
# Suggested starting point — merge with your existing robots.txt

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Perplexity-User
Allow: /

User-agent: Googlebot
Allow: /

User-agent: Bingbot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: Applebot-Extended
Disallow: /

User-agent: CCBot
Disallow: /

robots.txt communicates preferences to cooperative crawlers; it does not verify identity or enforce access. Merge these groups with existing rules rather than replacing your file.

A crawler can be allowed by your published policy and still receive a challenge, a rate limit, or an error before it ever reaches your site. Compare the two layers before changing rules.

A crawler rule is not a firewall rule

robots.txt is a public instruction file, not a network permission. A cooperative crawler requests it, chooses the rules that match its product name, and decides which paths to fetch. Your reverse proxy, CDN and web application firewall make a separate decision each time an HTTP request arrives. They can deny a path, challenge a client, or apply a rate limit even when the instructions say Allow. The reverse is also true: HTTP 200 for a disallowed path does not mean a compliant crawler will fetch it. If a page is private, require authentication at the server instead of relying on robots.txt.

Search, live requests, and model training are different

Search crawlers discover and refresh pages so an answering system can index or cite them. A live fetcher may request a page because a user asked for it. Training crawlers collect content for datasets and are usually governed separately. The same provider can publish several bot names for these purposes, so a broad block that matches the provider name is easy to get wrong. Decide separately whether you want public pages discoverable, fetchable on request, or available for training. Check each provider’s published policy before assuming that a user-initiated request honors the same rules as its indexing crawler.

Read the evidence before making a change

Run the check against the exact public page you want discoverable. Compare its response to each named request profile with the applicable path rule. A 403 can indicate an access rule; a 429 points toward a rate or quota decision; a 503 can also be an ordinary outage. A challenge on an otherwise successful status is another clue, not a root cause. Use request timestamps alongside your CDN logs to look for the matching action, rule ID, path and host. If robots.txt itself did not load successfully, fix that first and avoid assuming its policy.

Check Cloudflare bot controls and Super Bot Fight Mode

Cloudflare’s Block AI Bots or AI Crawl Control settings and Super Bot Fight Mode can apply edge decisions independently of robots.txt. A bot can therefore be allowed by the file yet receive a challenge or block at the edge. In Security Events, compare the request time, path, action and rule ID, then confirm which setting produced the response. Dashboard labels and available controls can change, so use the current Cloudflare documentation for your account’s configuration.

Limit Cloudflare exceptions to the rule that caused the block

In Security Events, identify the specific rule or feature generating the event. If the requests are known-good, start with a narrow match using verified-bot information, explicit public hostnames and only the paths you intend to expose. Test the match using logs, then adjust only the blocking rule. Never use the user-agent string as proof of identity, and do not bypass unrelated security checks or login controls. If a provider exposes IP ranges or a verification procedure, use its official documentation and keep the verification current. Review the change after real traffic arrives and roll it back if it expands access unexpectedly.

Retest by path, not just by domain

Homepages, guide pages, search routes and authentication walls often pass through different rules. Check at least one representative URL for each public section and revisit it after a CDN configuration change. Compare a known working page with one that fails before concluding the entire site is affected. Results can vary by geography, cache, IP reputation, and provider verification. The scanner observes one network and reuses successful checks for up to 24 hours. To confirm a fix sooner, compare the actual vendor’s requests in your edge logs. A clean result is evidence of reachability, not a guarantee of indexing, citations or ranking.

Check the results

FIELD NOTES

Frequently asked questions

Why does robots.txt allow a bot that still gets a 403?

robots.txt expresses a crawling preference. Your edge or application can independently refuse the HTTP request.

Can Cloudflare block a crawler that robots.txt allows?

Yes. Cloudflare bot controls and WAF rules operate independently of robots.txt. Check Security Events to identify the exact action before changing a rule.

Does this verify a real crawler’s identity?

No. The probes compare user-agent profiles from this service. Use verified-bot data and provider logs to confirm real traffic.

Can I allow search crawlers and disallow training crawlers?

Yes, when a provider exposes separate names and respects robots.txt for that purpose. Review specific groups and preserve existing path rules.

What is the difference between OAI-SearchBot and GPTBot?

OAI-SearchBot is used for ChatGPT Search discovery and citations, while GPTBot is a separate model-training crawler. You can allow search access and disallow GPTBot independently, subject to OpenAI’s current documentation.

What is the difference between Claude-SearchBot and ClaudeBot?

Claude-SearchBot supports Claude web search, while ClaudeBot is Anthropic’s separate model-training crawler. Their robots.txt rules can be managed independently; check Anthropic’s current documentation for how each is used.