2026-11-17 · 2026-11-17

What Is Blocking AI Crawlers: robots.txt, CDN/WAF, and JavaScript Rendering

What Is Blocking AI Crawlers: robots.txt, CDN/WAF, and JavaScript Rendering

When AI crawlers cannot get in, the problem usually sits in one of four layers: a misconfigured robots.txt, a CDN or firewall blocking by default, pages rendered with JavaScript, or nobody checking the logs. Cloudflare has blocked AI crawlers by default since July 2025, and major AI crawlers do not run JavaScript.

Why should crawlability come in the first week of GEO?

Because it is the step with the strongest evidence and the lowest cost. Among the seven stages of a generative engine, fetching and indexing come early: a page that is never fetched or indexed can never enter the candidate set, and every content improvement after that is wasted. The Overseas GEO White Paper makes "crawlable" the first step of its five-step framework and recommends doing crawler checks in a project's first week.

Many problems are not deliberate blocks; site owners simply do not know. The white paper's advice: check robots.txt, the CDN, and the WAF, then treat server logs as the final word. If you have not run a basic check yet, start with the 10-minute self-check of whether AI can read your site. For the overall order of work, see the GEO five-step framework.

Layer one: how should robots.txt be written?

Allow search and user-initiated crawlers, and decide on training crawlers separately based on the value of your content:

Crawler type Examples Recommendation Why
Search and citation Googlebot, OAI-SearchBot, PerplexityBot, Claude-SearchBot Allow Blocking them removes you from that platform's citations
User-initiated access ChatGPT-User, Perplexity-User, Claude-User Allow They only fetch when a user wants to see your page
Model training GPTBot, ClaudeBot, Google-Extended Decide by asset value Affects long-term brand recognition; note that Google-Extended also controls grounded citations in the Gemini app

The white paper's appendix provides this example, which allows AI search and restricts training where needed:

# Search citations and user-initiated access: allow
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: Claude-User
Allow: /
# Model training: decide by asset value; example only
User-agent: GPTBot
Disallow: /premium/
User-agent: ClaudeBot
Disallow: /premium/
# Note: blocking Google-Extended also removes grounded citations in the Gemini app
User-agent: Google-Extended
Allow: /

Changes take effect on different timelines. OpenAI says robots.txt changes take effect in about 24 hours (OpenAI crawler docs), Perplexity says up to 24 hours, and Google can take anywhere from days to months to recrawl after preview controls change. For details on each crawler, see the complete AI crawler list, or check your file with the robots.txt AI crawler checker.

Layer two: is your CDN or firewall blocking AI crawlers?

Quite possibly. Since July 1, 2025, Cloudflare has blocked AI crawlers by default for sites it hosts and introduced pay-per-crawl (MIT Technology Review). So robots.txt can say "allow" while the CDN quietly blocks OAI-SearchBot and PerplexityBot across the board.

Watch for two traps:

  1. Do not block by IP. The white paper relays Anthropic's warning that blocking by IP can stop crawlers from reading robots.txt, which makes opting out less reliable (Anthropic crawler documentation).
  2. robots.txt is a statement of intent. Perplexity's documentation says its user-initiated fetcher, Perplexity-User, "generally ignores robots.txt rules" (Perplexity crawler documentation). In August 2025, Cloudflare publicly accused Perplexity of switching to disguised crawlers after its declared crawlers were blocked; Perplexity denied it (Decrypt).

The white paper's conclusion (our translation):

"robots.txt is a declaration of intent, not a technical barrier; content that truly needs to be blocked should sit behind a firewall or paywall."

The flip side: for pages you want cited, make sure your CDN and WAF allowlist search-type AI crawlers. Security and marketing teams may have conflicting goals here, so agree explicitly on which crawlers belong on the allowlist.

Layer three: can AI see pages rendered with JavaScript?

Mostly not. Vercel's December 2024 network data shows that GPTBot, ClaudeBot, PerplexityBot, and other major AI crawlers do not execute JavaScript; only Gemini and Applebot, which use Googlebot-style infrastructure, render it. About 30% of ChatGPT and Claude fetches hit a 404.

Crawler Executes JavaScript Effect on React or Vue single-page apps
Googlebot (including Gemini) Renders Content can be read, but server rendering is still recommended
Applebot Renders Same
GPTBot / OAI-SearchBot No Content rendered only on the client is invisible
ClaudeBot No Same
PerplexityBot No Same

The self-check is simple: turn off JavaScript in your browser, or fetch the page with curl, and see whether the core text is still in the HTML. At a minimum, product pages, pricing pages, documentation, and FAQ pages should be server-rendered or statically generated. The white paper's typical example is a single-page app whose product pages are excellent but which gets eliminated at the fetching and indexing stage because crawlers do not run JavaScript.

The same goes for specs, prices, and certifications that live only in PDFs or images. Google advises providing important content as text; see Google's AI optimization guide explained. To move those facts onto dedicated web pages, see turning your website into a fact base for AI.

Layer four: how do you confirm AI crawlers actually visited?

Check server or CDN logs and verify crawler identity against official IP ranges. The User-Agent alone is not enough, because it can be spoofed; OpenAI, Anthropic, and others publish their crawler IPs.

The open-source tool GEOInflow separates crawlers by purpose (training, AI search, user-initiated), stores User-Agent claims, official IP matches, and DNS evidence separately, and can use an imported sitemap to show which key pages AI crawlers have not visited for a long time. Two metrics belong in your monthly report:

  • AI crawler coverage: the share of key pages visited by each platform's search crawler.
  • Crawl error rate: the share of AI crawler requests returning 4xx, 5xx, or timeouts.

Crawl records only show that a crawler came, not that you were cited, so pair them with prompt sampling. But when citation rates drop, checking logs before content quickly rules out technical causes.

Which pages should you check first?

Check your fact pages first, then everything else. The white paper's data shows that brand websites account for 38% to 58% of source links across five platforms, and when an answer involves verifiable facts such as prices, specs, compatibility, or policies, models tend to cite the original source. A 2026 Yotpo study likewise found that product pages and policy pages (returns, shipping, warranty) are the most stable page types in AI citations.

A suggested order:

  1. Home, about, and contact pages (entity information).
  2. Pricing, plan, and product pages (decision-stage facts).
  3. Documentation, FAQ, and policy pages (consideration and after-sales facts).
  4. Blog posts and guides (awareness-stage content).

A failure at any layer on the first three groups costs more than one on a blog post, because those pages are the original source AI turns to when answering "how much does it cost", "what does it support", or "how do I return it".

A four-layer troubleshooting checklist

Layer What to check How to check Common fix
robots.txt Are search and user-initiated crawlers allowed? Read robots.txt and check each User-agent Rewrite using the template above
CDN / WAF Is AI crawler blocking on by default? Review bot settings and block logs in Cloudflare or similar Allowlist search-type AI crawlers
Rendering Is body text still there with JavaScript off? curl, or disable JavaScript Server-side rendering or static generation
Logs Did crawlers really visit, and what did they get? Match visits and status codes against official IPs Fix 404s, clean up redirects, update sitemap lastmod

If you cannot edit code yourself, hand the findings to an AI coding assistant; see give this prompt to your AI coding assistant. For what is special about Claude and robots.txt, see how to get cited by Claude.

FAQ

Will blocking GPTBot and ClaudeBot affect AI citations?

Not directly for live citations. They are training crawlers; citations depend on search crawlers such as OAI-SearchBot and Claude-SearchBot. Over the long term, though, training data shapes how a model remembers your brand, and most brand websites want to be remembered.

My site uses Cloudflare. Do I need to change settings?

You need to check. Cloudflare has blocked AI crawlers by default since July 2025. If you want to be cited by ChatGPT, Perplexity, and Claude, allow their search crawlers in your bot management settings, then confirm in your logs that they receive a 200.

Do I need llms.txt?

It is not a priority. Google says Search does not use it, and there is no evidence it improves citations on other platforms. The "agentic browsing" audit in Chrome Lighthouse 13.3 checks whether the file exists, but its purpose is helping browser agents understand a site (TechWyse). Documentation-heavy sites can provide it cheaply; other sites should spend their effort on rendering and content.

How can I tell a real AI crawler from a fake one?

Verify against officially published IP ranges or with reverse DNS. Records that only carry a User-Agent claim should not be treated as confirmed. OpenAI, Anthropic, and Google all publish verification methods.

Sources

  1. Overseas GEO White Paper, Liekan Technology et al., October 2026
  2. OpenAI: Overview of OpenAI crawlers
  3. MIT Technology Review: Cloudflare will now block AI bots by default
  4. Anthropic crawler documentation
  5. Perplexity crawler documentation
  6. Decrypt: Cloudflare accuses Perplexity of stealth crawling
  7. Vercel: The rise of the AI crawler
  8. GEOInflow open-source repository
  9. TechWyse: Google's AI search optimization guide and the Lighthouse audit

Last updated: 2026-11-16

Ready to check yours?

Enter your domain and get an AI visibility report

Turn this guide into action

Find the GEO issues holding your site back

Run a GEO audit