DD DevDome Track. Protect. Grow.
Security

Best Plugins to Block AI Crawlers on WordPress (and When Not To)

GPTBot, ClaudeBot, PerplexityBot and friends fetch your pages for training, search and live answers. You can block some, all or none. Here is how, and why the answer is rarely all.

On this page
  1. robots.txt: the polite layer every site should set
  2. Cloudflare AI bot blocking: one switch at the edge
  3. Dark Visitors: the maintained list, as a plugin
  4. Block AI Crawlers: the simple WordPress plugin
  5. Wordfence: block by user agent in the firewall
  6. Your host’s or CDN’s bot controls
  7. DevDome Bot Protection: per-type AI controls with logging
  8. How to see what the crawlers are doing now
  9. Keeping the block current
  10. What blocking does and does not protect
  11. The recommended setting

The best plugin to block AI crawlers on WordPress depends on what you want to block. AI vendors run three kinds of crawler: training crawlers that collect text for models, search crawlers that build an index for AI search, and live fetchers that read a page while answering a user’s question. Blocking the first protects your content from training. Blocking the other two removes you from AI answers and the referral clicks they send. The tools below differ mainly in whether they let you tell the three apart. One is ours.

robots.txt: the polite layer every site should set

Before any plugin, your robots.txt can disallow specific user agents. The large vendors publish their crawler names and honour the file. Many WordPress SEO plugins let you edit robots.txt, and Dark Visitors generates a current block list.

Best as the baseline, since it costs nothing and the big crawlers obey. Falls short on enforcement: anything that ignores robots.txt walks straight past it.

Cloudflare AI bot blocking: one switch at the edge

Cloudflare offers a setting that blocks known AI bots for every site on its network, free plan included, before requests reach your server, plus managed robots.txt directives.

Best for owners on Cloudflare who want a quick, enforced block with no server load. Falls short on granularity: it is largely all or nothing for the known AI set, and it cannot see what the crawler was doing on your WordPress site.

Dark Visitors: the maintained list, as a plugin

Dark Visitors tracks AI agents as they appear and offers a WordPress plugin that keeps your robots.txt current and reports which agents visit.

Best for staying current without reading vendor blogs. Falls short on enforcement for agents that ignore robots.txt unless combined with a blocker.

Block AI Crawlers: the simple WordPress plugin

A small free plugin that adds disallow rules for known AI crawlers to robots.txt and can add the noai meta tags.

Best for owners who want the robots.txt rules without editing the file. Falls short in the same way: it asks, it does not enforce.

Wordfence: block by user agent in the firewall

Wordfence’s blocking rules can match user agents, so you can block AI crawlers by name, with the firewall enforcing it.

Best for owners already on Wordfence. Falls short on maintenance, since you keep the list yourself, and on telling training from search crawlers, which is a manual job.

Your host’s or CDN’s bot controls

Several managed WordPress hosts now offer an AI crawler switch in their panels, enforced at their edge.

Best for owners who want it handled by the host. Falls short on control and visibility, which vary by host.

DevDome Bot Protection: per-type AI controls with logging

Our plugin keeps the AI crawler list current and splits it into three switches: AI training, AI search and AI user requests, each allowed or blocked independently. Blocks are enforced in WordPress, logged for 90 days so you can see which agents came and what they fetched, and the same plugin handles scanners and scrapers by behaviour. Record Bots mode shows what would be blocked before you commit. No account is needed for local protection.

Best for owners who want to block training, allow answers, and see the result. Falls short on edge enforcement, which only Cloudflare or a host can provide before the request arrives.

How to see what the crawlers are doing now

Before blocking anything, look. Analytics that classify bots show which AI user agents visited, how many pages they fetched and when. On most content sites the training crawlers fetch in bursts and the live-answer fetchers arrive one page at a time following a user’s question. The referrers report shows the other side: clicks from chatgpt.com, perplexity.ai and claude.ai are people who read an answer and wanted more. If the referral line is growing, the live-answer crawlers are earning their keep; if the training crawlers are hammering a large site, rate limiting or blocking them costs nothing. A week of looking makes the decision concrete instead of ideological.

Keeping the block current

New AI crawlers appear monthly, and existing ones change names and split into types. A robots.txt written a year ago is already incomplete. Three ways to stay current: use a plugin that maintains the list for you, subscribe to a tracker such as Dark Visitors, or review the bot report quarterly and add the newcomers by hand. Also watch for crawlers that ignore robots.txt entirely; those only respond to enforcement, and a behaviour-based blocker catches them whatever they call themselves.

What blocking does and does not protect

Blocking a training crawler today stops future collection from your site by that vendor. It does not remove what was collected before, and it does not stop vendors that crawl from undeclared agents or buy data from third-party crawls such as Common Crawl, which has its own agent to block separately. Blocking live-answer fetchers removes your pages from answers at the moment a user asks, which is the only place a block has a visible cost. If your goal is to stop your text being used for training, block the training agents and Common Crawl and accept that it is partial. If your goal is attribution and clicks, allow the search and answer agents and make your pages easy to cite. Mixing up the two goals is how sites end up blocking the traffic and keeping the training.

For most content sites: block AI training crawlers, allow AI search and live-answer fetchers, keep robots.txt in sync, and watch the AI referral line in your analytics. If it grows, you made the right call. If a specific crawler misbehaves, block that one by name. All-or-nothing blocking is a legitimate choice for sites that sell their content, and it should be made knowing what it gives up.

Key takeaways

  • AI crawlers come in three kinds: training crawlers, search index crawlers and live-answer fetchers. Blocking all three removes you from AI answers and their referral clicks.
  • robots.txt is a request, honoured by the major vendors and ignored by the rest. Enforcement needs a blocker.
  • Cloudflare can block known AI bots at the edge in one switch. WordPress plugins add per-type control and logging.
  • The useful middle path is to block training, allow search and live answers, and watch the referral traffic.
  • Keep the list current; new crawlers appear monthly.

Sources

  1. OpenAI: overview of OpenAI crawlers : GPTBot, OAI-SearchBot and ChatGPT-User explained
  2. Cloudflare: block AI bots : the one-click AI bot blocking option
  3. Dark Visitors : maintained list of AI agents and the robots.txt generator
  4. Block AI Crawlers on WordPress.org : robots.txt based blocking plugin

Links last checked October 17, 2026.

Frequently asked questions

Does robots.txt stop AI crawlers?

It stops the ones that choose to obey it, which includes OpenAI, Anthropic, Google and most large vendors. Smaller scrapers and some research crawlers ignore it. Use robots.txt as the polite layer and a blocker as the enforced one.

Will blocking AI crawlers hurt my traffic?

Blocking training crawlers has no traffic effect. Blocking the search and live-answer crawlers removes your pages from AI answers, which is a small but growing source of referral visits. Decide per type rather than all or nothing.

Which user agents are AI crawlers?

GPTBot, OAI-SearchBot and ChatGPT-User from OpenAI; ClaudeBot and Claude-User from Anthropic; PerplexityBot; Google-Extended for Gemini training; Bytespider; Amazonbot; CCBot from Common Crawl; and a changing list of others. Good tools maintain the list for you.

Can AI crawlers slow my site?

Aggressive ones can, especially on large sites where they fetch thousands of pages in bursts. Rate limiting at the edge and blocking the abusive ones fixes it; the major vendors' crawlers are usually well-behaved.

DevDome Team WordPress plugin builders

The DevDome team builds lightweight, performance-first WordPress plugins and free tools for site owners, founders and marketers. We write about the exact problems our plugins solve, in plain language for people who run real sites.