AI search
Is Cloudflare Blocking ChatGPT From Your Site? How to Check and Fix It
Cloudflare AI bots settings can keep your business out of ChatGPT search answers without a single warning in your inbox. The site loads fine for you and for Google. But if OpenAI's search crawler gets a block page, ChatGPT can't read you, and it recommends someone it can read.
OpenAI is clear about the stakes: "Sites that are opted out of OAI-SearchBot will not be shown in ChatGPT search answers," according to its crawler documentation. A firewall block has the same effect as an opt-out, except you never chose it.
Cloudflare has changed its AI defaults twice since mid-2025, and plenty of small business sites sit behind it because a developer set it up years ago and nobody has logged in since. So it's worth ten minutes to check. Below is where to look, what to set, and how to confirm the fix worked. If you'd rather I check it for you, send me your site details and I'll take a look.
Why Cloudflare might be blocking ChatGPT
Three changes stack up here.
July 2025: AI crawlers blocked by default for new sites. Cloudflare announced it was changing the default to block AI crawlers unless they pay creators for content. Sites added after that date could start out blocking bots their owners never heard of.
July 2026: a new way of sorting bots. Cloudflare now groups AI bots by behavior into three buckets, according to its AI bot policy docs:
- Search: crawlers that index content to answer questions later (OpenAI's OAI-SearchBot belongs here).
- Agent: bots acting live for a person, like ChatGPT fetching a page you asked about.
- Training: crawlers collecting content to train AI models, such as GPTBot.
September 15, 2026: new defaults and a retired switch. The old one-click "Block AI bots" setting is being retired. For new domains, Training and Agent bots are now blocked on pages that show ads, and Search stays allowed. Crawlers that do both search and training get blocked by any setting that blocks training.
None of that is bad on its own. Search is allowed by default. The trouble comes from older custom settings, a developer who clicked "block all" in 2024, or tools that block bots in a broader way.
The OpenAI bots that matter (and the ones that don't)
Before you change anything, know which bot does what. OpenAI publishes four:
| Bot | Job | Cloudflare bucket | My default for a small business |
|---|---|---|---|
| OAI-SearchBot | Indexes pages for ChatGPT search | Search | Allow |
| ChatGPT-User | Fetches a page when someone asks ChatGPT about it | Agent | Allow |
| GPTBot | Collects content that may train OpenAI's models | Training | Your choice |
| OAI-AdsBot | Checks landing pages for ChatGPT ads | n/a | Only matters if you advertise there |
The key point: blocking GPTBot (training) and allowing OAI-SearchBot (search) is a perfectly valid setup. You don't have to choose between privacy and visibility.
Cloudflare's verified bot categories list OAI-SearchBot under "AI Search", and since July 2026 Cloudflare treats that the same as regular search. Perplexity's user-triggered bot sits under "AI Assistant".
Where to check Cloudflare's AI bot settings
Cloudflare moves menus around, so these paths are as of October 2026. Check all four. Any one of them can do the blocking.
1. AI bot policies
In your Cloudflare dashboard, pick the domain, then go to Security Settings and find Configure AI bot policies. You'll see the three buckets (Search, Agent, Training), each set to one of:
- Block (on all pages)
- Block on pages with ads
- Allow (do not block)
For most small business sites, I'd set Search to Allow, Agent to Allow, and Training to whatever you're comfortable with. If the old "Block AI bots" toggle still shows, note its setting. It only covered training bots, but it's being retired, so set the new policies explicitly.
2. AI Crawl Control
Go to AI Crawl Control in the sidebar. The Crawlers table lists each AI crawler that has visited, its category, request counts, any robots.txt violations, and the current action. You can allow or block crawlers one by one in the Actions column.
Look for OAI-SearchBot, PerplexityBot and Claude-SearchBot. If any of them shows Block, that's your problem. Blocking a crawler here quietly creates a WAF custom rule (a firewall rule you wrote, or that was written for you), so also check the next item.
On the free plan, detection relies on user agent strings (the name a bot announces), so you'll only see the well-known bots that identify themselves. That covers the ones that matter here.
3. WAF custom rules
Go to Security, then Security rules (or WAF on older layouts), and read every custom rule. Watch for rules that block or challenge:
- user agents containing "bot", "crawler" or "GPT"
- whole countries where an AI company's servers live
- anything with "Verified Bot" set to false or a category set to "AI"
A challenge (the "checking your browser" page) blocks crawlers just as well as a hard block, because bots can't solve it.
4. Bot Fight Mode
Bot Fight Mode is Cloudflare's free bot blocker, found under Security then Bots. Two facts from Cloudflare's Bot Fight Mode docs matter. It protects the whole domain with no exceptions, and "You cannot bypass or skip Bot Fight Mode using WAF custom rules or Page Rules."
Cloudflare says verified bots have historically been excluded from its default bot settings. Still, if AI crawler traffic looks wrong and everything else checks out, turn Bot Fight Mode off for a week as a test. If you need exceptions, that takes Super Bot Fight Mode on a paid plan.
Don't forget Cloudflare's managed robots.txt
There's one more setting that edits your robots.txt for you. Cloudflare's managed robots.txt feature adds Disallow: / lines for eight training crawlers (including GPTBot, ClaudeBot and Google-Extended) and puts its block above your own file. It also adds a "Content-signal" line saying search is fine but AI training isn't.
That's a reasonable setup, and it doesn't block OAI-SearchBot. But it means the robots.txt you see in WordPress may not be the one bots get. Always check the live file:
# Shows the robots.txt that crawlers actually receive, Cloudflare's additions included.
# Read-only; changes nothing.
curl -s https://example.com/robots.txtIf you want to write your own rules, my robots.txt templates for every major AI crawler cover OpenAI, Anthropic, Perplexity, Google and Microsoft.
How to confirm ChatGPT can reach you now
Changing a setting isn't the same as fixing the problem. Here's how to check.
Check Cloudflare's security events. Go to Security, then Analytics or Events, and filter by user agent containing "OAI-SearchBot". Every block or challenge shows up there with the rule that caused it. This is the most reliable test, because it shows what the real bot experienced.
Check your server logs. If OpenAI's crawler gets through Cloudflare, it reaches your server. On cPanel, the raw access logs are under Metrics. On a Linux server:
# Counts OpenAI search-bot hits and shows the status codes they got.
# Read-only. Adjust the log path for your host (Apache shown).
grep "OAI-SearchBot" /var/log/apache2/access.log | awk '{print $9}' | sort | uniq -cLots of 200 codes is good. Nothing at all, after a week, means something upstream is still blocking it, or OpenAI hasn't visited yet.
Don't trust a fake test. You'll see guides suggesting curl -A "OAI-SearchBot" to pretend to be the bot. Cloudflare checks whether a "verified" bot really comes from the company's servers. OpenAI publishes its search crawler's IP addresses at openai.com/searchbot.json for exactly this purpose. A fake request from your laptop may be treated differently from the real one, so the test can mislead you both ways.
Give it time. OpenAI says robots.txt changes can take about 24 hours to register in its systems.
What not to do
- Don't block AI companies by IP address. Anthropic's crawler help page points out that IP blocks stop its bots from reading robots.txt at all, so your opt-out instructions never arrive. Use robots.txt or Cloudflare's per-crawler controls instead.
- Don't block "everything AI" in a panic. Training and search are separate switches for a reason.
- Don't forget subdomains. Each Cloudflare zone and each subdomain can have its own rules and its own robots.txt.
- Don't assume the plugin is off. WordPress security plugins like Wordfence have their own bot and rate-limit rules that run after Cloudflare.
Vlad's take
I've worked on Cloudflare, cPanel and Plesk setups for years, and firewall settings are the part of AI search nobody looks at. Owners hear "build authority" and "get mentioned", which are slow and fair advice. But none of it matters if the door is locked.
This is the cheapest fix in AI search. Ten minutes in the dashboard, one log check a week later. If ChatGPT still doesn't mention you after that, the next steps are about consistency and reputation, which I cover in how to get your business recommended by ChatGPT.
Final Thoughts
Cloudflare didn't set out to hide small businesses from ChatGPT. Its defaults allow search bots. But old settings, firewall rules and bot blockers add up, and the result is a site that AI search tools quietly skip.
Check the AI bot policies, AI Crawl Control, your custom rules and Bot Fight Mode. Then confirm with security events and server logs. For the wider picture beyond firewalls, my guide to AI search for small business owners walks through what Google, ChatGPT and Copilot each need.
My no-cost website review includes an AI crawler access test, with a report within two business days. If you want the full audit and the fixes done, AI visibility audit and fixes covers it. The questionnaire is short, and I reply with a plan and a fixed quote within one business day.
Cloudflare AI Bots FAQ
Does Cloudflare block ChatGPT by default?
Not ChatGPT search, as of October 2026. Cloudflare's current defaults allow bots in its Search category, which is where OpenAI's OAI-SearchBot sits. For new domains, training and agent bots are blocked on pages that show ads. Older custom settings, WAF rules or Bot Fight Mode can still block OpenAI's bots, so check your own dashboard rather than relying on the default.
How do I allow OAI-SearchBot on Cloudflare?
Set the Search category to Allow under Security Settings, Configure AI bot policies. Then open AI Crawl Control and make sure OAI-SearchBot isn't set to Block. Review your WAF custom rules for anything blocking or challenging bots, and make sure your robots.txt doesn't disallow it. Confirm in Cloudflare's security events that its requests are no longer blocked.
Can I block GPTBot but still show up in ChatGPT?
Yes. GPTBot collects content that may train OpenAI's models, while OAI-SearchBot indexes pages for ChatGPT search. OpenAI treats them as separate controls. In Cloudflare, set Training to Block and Search to Allow. In robots.txt, disallow GPTBot and allow OAI-SearchBot. Your pages stay eligible for ChatGPT search answers either way.
Does blocking AI crawlers on Cloudflare hurt Google rankings?
Blocking AI training crawlers doesn't affect Google Search. Googlebot is a regular search crawler, not an AI bot, and Google says its Google-Extended control has no effect on Search rankings. The risk is a broad rule that catches Googlebot or Bingbot by mistake, like blocking every user agent containing "bot". Check your rules for that.
Why don't I see OAI-SearchBot in my logs?
Either something upstream is blocking it, or OpenAI hasn't crawled your site recently. Check Cloudflare's security events first, since a blocked request never reaches your server logs. If nothing is blocked, give it time: smaller sites get crawled less often. Being listed in other sources that ChatGPT reads can help it find you.
Want a second pair of eyes on your site?
Tell me what's going on in the ai search optimization questionnaire. I reply with a plan and a fixed quote within one business day.