AI search fix
Cloudflare blocking AI crawlers — how to fix it
Cloudflare can block trusted AI crawlers when Bot Fight Mode or Managed Rules treat them like generic automation traffic. If that happens, AI assistants cannot fetch your pages, so your site is less likely to be cited in AI answers. The fix is to create explicit allow rules for trusted user agents and verify that robots.txt does not contradict your WAF policy.
Think of Cloudflare as the first gate and robots.txt as the second gate. You need both open for the bots you want: if Cloudflare blocks first, the crawler never reaches robots.txt; if Cloudflare allows but robots.txt disallows, the crawler still will not process the page content for search and citation workflows.
How to stop Cloudflare from blocking AI crawlers
- Go to Cloudflare Dashboard -> Security -> WAF -> Custom rules.
- Create rules for GPTBot, PerplexityBot, ClaudeBot, Google-Extended, and Bingbot user agents.
- Set action to allow (or skip bot challenge rules) for these trusted bots.
- Keep abuse protection for unknown bots and scrapers in place.
- Validate with logs after 24 hours to confirm successful bot requests.
You'll get an HTML report showing whether your WAF or robots policy blocks trusted AI crawlers.
Run Express CheckRelated questions
Updated
