R Ranklance
Features Agents How It Works Learn Pricing Get Started Free
Home / Learn / Block AI crawlers on WordPress

How to Block AI Crawlers on WordPress (and Which to Allow)

By Rishabh Jha & Anuj Kamble, WisdmLabs · Updated 27 October 2026 · 7 min read

AI crawlers are the bots that fetch web pages for AI companies. They do three jobs: collecting training data, building an AI search index, and fetching a page live when a user asks. Blocking a training crawler keeps you in AI search; blocking a search crawler takes you out of it. Decide per bot, in robots.txt.

“Should I block GPTBot?” splits SEO forums down the middle, and both sides are often arguing about the wrong bot. Before you block AI crawlers on WordPress, one rule: never add a blanket block. A wrong line in robots.txt can hide your whole site from Google. Back up your current file first.

Which AI crawlers visit WordPress sites?

Each AI company runs several bots, and each bot has one job. This AI crawlers list is taken from each company’s own documentation, checked 16 October 2026.

User agentCompanyJobIf you block it
GPTBotOpenAITraining dataExcluded from training; ChatGPT search unaffected
OAI-SearchBotOpenAIChatGPT search indexNot shown in ChatGPT search answers
ChatGPT-UserOpenAILive fetch for a userrobots.txt may not apply
OAI-AdsBotOpenAIChecks pages submitted as ChatGPT ads; not used for trainingOnly visits pages you submit as ads
ClaudeBotAnthropicTraining dataFuture content excluded from training
Claude-SearchBotAnthropicClaude search indexMay reduce your visibility in Claude’s search results
Claude-UserAnthropicLive fetch for a userClaude can’t fetch your page for a user
PerplexityBotPerplexityPerplexity search results (not training)Not surfaced in Perplexity search
Perplexity-UserPerplexityLive fetch for a userGenerally ignores robots.txt
Google-ExtendedGoogleGemini and Vertex AI training and grounding (a robots.txt token, not a separate bot)Gemini stops using your pages for training or to ground answers. No effect on Google Search
Google-CloudVertexBotGoogleCrawls a site only when its owner sets up a Vertex AI agentOnly matters if you use Vertex AI
Applebot-ExtendedAppleApple foundation-model training (a robots.txt token, not a separate bot)Excluded from training; still eligible for Apple search results
Meta-ExternalAgentMetaTraining Meta’s AI modelsExcluded from Meta’s AI training crawl
Meta-WebIndexerMetaMeta AI search resultsMeta AI is less likely to cite and link you
CCBotCommon CrawlOpen web archive anyone can reuseExcluded from future Common Crawl archives

Most of these bots follow robots.txt. The exceptions are the live fetchers: ChatGPT-User, Perplexity-User and Meta’s Meta-ExternalFetcher may ignore it, because a person asked for the page. robots.txt also only affects future crawling: content already collected isn’t removed.

  • TrainingGPTBot, ClaudeBot, Google-Extended, CCBot and othersBlock: out of training, still in AI search
  • Search indexOAI-SearchBot, Claude-SearchBot, PerplexityBotBlock: out of that AI search
  • Live fetchChatGPT-User, Claude-User, Perplexity-UserVisits when a user asks; may ignore robots.txt
Three jobs, three different results when you block them. The search bots are the ones that can send you visitors.

What do AI crawlers actually take from your site?

Mostly training data. In July 2025, nearly 80% of AI bot crawling on Cloudflare’s network was for training, with user-requested fetches under 5% (Cloudflare).

Very little traffic comes back. In the first week of August 2025, Cloudflare counted roughly 50,000 Anthropic crawls for every visit Claude referred, 887 for OpenAI and 118 for Perplexity.

These figures move month to month, so treat them as a snapshot, not a constant. Training bots take a lot and send little back; search bots are the ones that can send you visitors.

Should you block AI crawlers on WordPress? A decision table

Start from what you want, not from a list of bots to block:

Your goalAllowBlock
Show up in AI searchOAI-SearchBot, Claude-SearchBot, PerplexityBot, Meta-WebIndexerNothing
Stay out of AI training, stay in AI searchThe search bots aboveGPTBot, ClaudeBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent, CCBot
Opt out of AI as far as robots.txt allowsNothingAll of the above, including the search bots. You leave AI search

Blocking has a cost to weigh. A Rutgers and Wharton working paper (April 2026) found that large news publishers who blocked generative AI bots saw less website traffic than those who didn’t. It isn’t peer-reviewed, and it studied big publishers, not small sites. To see whether AI search names you at all, measure your Share of Model.

Blocking Googlebot is never the answer. AI Overviews draw on Google’s main search index, and Google-Extended doesn’t control them. To limit what AI Overviews show from a page, use the nosnippet, data-nosnippet or max-snippet controls (Google).

How to edit robots.txt on WordPress safely

Back up first: open https://yoursite.com/robots.txt and save a copy before you change anything. If a change goes wrong, you can put the old version straight back.

WordPress serves a virtual robots.txt unless a real file exists in your site root, and a real file overrides any plugin that edits the virtual one. This GPTBot robots.txt example opts out of training but stays in AI search, and keeps WordPress’s default rules:

User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: CCBot
Disallow: /

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://yoursite.com/sitemap.xml

A bot named in its own group ignores the * group, so repeat any rules you still want it to follow. Use your real sitemap URL.

Watch for blocks you didn’t mean to add. The author of a 1,500-site crawl shared on Hacker News found that many AI bots were blocked by accident, through old blanket User-agent: * rules or security plugins. Never put Disallow: / under User-agent: *: that blocks Googlebot too.

  1. After saving, open yoursite.com/robots.txt and check the rules appear exactly as written.
  2. In Google Search Console, open the robots.txt report. It shows when Google last fetched the file and any parsing issues, and you can request a recrawl.
  3. Allow about 24 hours: OpenAI and Perplexity both say their systems can take that long to pick up changes.

Ranklance’s AI Crawler dashboard (paid plans) shows these rules in one screen and merges them into your robots.txt.

Using Cloudflare? Check its AI crawler settings

Many WordPress sites sit behind Cloudflare, which can block AI bots before they ever see your robots.txt. In July 2026, Cloudflare split its AI controls into three groups: Search, Agent and Training.

From 15 September 2026, new domains added to Cloudflare block Training and Agent crawlers by default on pages that show ads. Search crawlers stay allowed. The defaults were discussed widely, including on Hacker News.

Watch out: Cloudflare says that if you block Training, crawlers that do both search and training, such as Googlebot, Applebot and Bingbot, are blocked too. Check your Cloudflare AI crawler settings under Security before you rely on them, and don’t block Training there if you need Google Search.

Your robots.txt and your Cloudflare settings both decide who gets in, so check both.

What if a bot ignores robots.txt or overloads your server?

robots.txt is a request, not a lock. Named bots from the big AI companies follow it, but plenty of scrapers don’t: one developer on Hacker News found that most of the crawlers hitting their server ignored it completely.

Load is a real issue too. A site owner reported that ClaudeBot sent almost a million requests in one day. Anthropic says its bots support the non-standard Crawl-delay rule, so you can slow them down rather than block them.

  • Slow, don’t block: add Crawl-delay: 10 under a bot’s user agent, if that bot supports it.
  • Bad actors: use your host’s firewall or a security plugin to block abusive IP addresses.
  • Check before blocking by IP: OpenAI and Common Crawl publish their crawlers’ IP ranges, so you can tell real bots from fakes. Anthropic warns that IP blocks can stop its bots reading your robots.txt.

Use robots.txt for bots that listen, and your firewall for the ones that don’t.

Check which AI crawlers visit your site

Your server access logs record each crawler’s user agent. Search them for the names in the table to see which bots visit and how often. Google-Extended and Applebot-Extended never appear, because they’re robots.txt tokens, not bots. User agents can be faked, so treat counts as estimates.

Crawler visits don’t show up in Google Analytics, which counts people. To see the human visits AI tools send you, track AI traffic in GA4. Logs show who reads your site; GA4 shows who visits because of it.

AI crawler checklist

  1. Back up your current robots.txt.
  2. Decide your goal: AI search, no training, or neither.
  3. Name each bot in its own group; never Disallow: / under User-agent: *.
  4. Check the live file and Search Console’s robots.txt report.
  5. Check your Cloudflare AI crawler settings, if you use Cloudflare.
  6. Review your logs monthly for new or misbehaving bots.

FAQ

Does blocking GPTBot remove me from ChatGPT search?

No. OpenAI says GPTBot is used for training. ChatGPT search uses OAI-SearchBot, so block that only if you want to leave ChatGPT search.

Does blocking Google-Extended hide me from AI Overviews?

No. Google says Google-Extended does not affect inclusion in Google Search or ranking. It controls use for Gemini and Vertex AI training and grounding.

Can I use llms.txt to block AI crawlers?

No. llms.txt is a reading guide that lists your key pages; it can't block anything. Use robots.txt for bots that follow it, and a firewall for those that don't.

Will blocking AI crawlers remove content they already collected?

No. robots.txt only affects future crawling. Content a crawler collected before you blocked it isn't removed by the block.

Sources

  • OpenAI: overview of OpenAI crawlers
  • Anthropic: does Anthropic crawl data from the web?
  • Perplexity: Perplexity crawlers
  • Google: common crawlers (Google-Extended, Google-CloudVertexBot)
  • Google: AI features and your website
  • Google: robots.txt report in Search Console
  • Apple: about Applebot
  • Meta: web crawlers
  • Common Crawl: CCBot
  • Cloudflare: AI crawler traffic by purpose and industry (August 2025)
  • Cloudflare: new AI crawler options and defaults (July 2026)
  • Zhao and Berman: Strategic Response of News Publishers to Generative AI (working paper, 2026)
  • RFC 9309: Robots Exclusion Protocol

All sources checked 16 October 2026. Spot something wrong? Email support@wisdmlabs.com and we’ll fix it.

Related

  • How to add an llms.txt file to WordPress
  • How to track AI search traffic in GA4
  • What is Share of Model?
  • What is answer engine optimization?

Letting AI search crawlers in? Make sure the pages they find answer questions clearly: Ranklance’s free plugin scores each page in the WordPress editor.

Install Ranklance free
R Ranklance

The WordPress SEO plugin that executes, not just diagnoses.

Product

Features Agents AEO Score Pricing How It Works

Resources

Docs Learn Compare WordPress.org Changelog Support Forum

Company

About Contact Privacy Terms

© 2026 WisdmLabs. Ranklance is a WisdmLabs product, built for WordPress.