Security plugins are essential on WordPress. They also tend to treat unfamiliar automated traffic as suspicious. AI search crawlers are relatively new, they request many pages quickly, and they run from data-centre IP addresses: exactly the profile many security rules are designed to stop. The result is that a lot of WordPress sites are blocking AI bots without anyone deciding to.
Where the blocks come from
| Source | How it blocks |
|---|---|
| Security plugins (Wordfence, Solid Security, All-In-One WP Security and others) | Rate limiting, blocking "fake" crawlers, country blocks, user-agent rules |
| Hosting firewalls (ModSecurity rules, Imunify360 and similar) | Server-level bot protection, often enabled by default on shared hosting |
| CDNs and proxies (Cloudflare and others) | AI crawler blocking options, bot challenges |
| "Block bad bots" plugins and .htaccess lists | Copied lists that include AI crawlers |
Step 1: check whether AI bots get through
Option A: server logs. Download your access log (cPanel → Metrics → Raw Access) and search for OAI-SearchBot, Claude-SearchBot, PerplexityBot, Bingbot and Googlebot. Look at the status codes: 200 is good; 403, 429 or 503 mean blocks. See AI crawler server logs.
Option B: test. Request a page with each crawler's user agent using a command-line tool or an audit tool, and check whether you get your page or a block or challenge page.
Step 2: review your security plugin
Settings vary by plugin, but look at:
- Rate limiting: limits on page views per minute for crawlers or humans. Very tight limits can block legitimate crawlers. Raise crawler limits or use "throttle" rather than "block".
- Fake crawler blocking: options that block bots claiming to be Google but not verified. These are useful, but make sure they apply only to falsely identified bots.
- Country blocking: blocking whole countries can block crawlers that operate from them, such as US-based AI crawlers.
- User-agent rules: remove rules that block AI search crawlers by name.
- Login and XML-RPC protection: keep these. They do not affect crawlers reading public pages.
Step 3: check "bad bot" lists
Many sites have .htaccess blocks or plugins with long lists of "bad bots". Some lists include GPTBot, ClaudeBot, PerplexityBot and others without separating search crawlers from training crawlers. Edit the list deliberately: decide which training crawlers to block, and allow the search crawlers. Our AI crawlers guide explains which is which.
Step 4: ask your host
If logs show blocks you cannot find in WordPress, the host's server firewall is a likely cause. Ask support:
- whether bot protection or ModSecurity rules are active on your account,
- whether specific AI crawlers are blocked or challenged,
- whether they can allow-list verified search crawlers.
Step 5: check your CDN
If you use Cloudflare or another CDN, review its AI crawler and bot settings too. See Cloudflare AI crawler settings.
Step 6: re-test and monitor
After changes, test again and watch logs over the next week for successful crawler visits. Add a monthly check to your maintenance routine; plugin updates and new security rules can re-introduce blocks.
Keep security strong
Allowing crawlers to read public pages is compatible with good security:
- keep strong login protection, two-factor authentication and limited login attempts,
- protect forms with CAPTCHA or honeypots,
- keep WordPress, plugins and themes updated,
- block abusive IPs that ignore robots.txt or attack your site.
The goal is to block attackers and scrapers, not the search crawlers that bring you customers.
A common pattern
Picture a WooCommerce shop that is never cited by Perplexity or ChatGPT, although its robots.txt allows every crawler. Its access log shows 403 responses to PerplexityBot and OAI-SearchBot. A typical cause is a combination of two settings: a security plugin rate limit that blocks crawlers above a set number of requests per minute, and a country block that includes the United States, added during a spam attack and never removed.
Raising the crawler limit, switching it to throttling and removing the country block (while keeping login protection and CAPTCHA on forms) turns those 403s into 200s. Only then can the shop's pages be considered as sources at all.
What to keep blocked
Allowing AI search crawlers does not mean allowing everything. Keep blocking:
- repeated failed login attempts,
- requests to
xmlrpc.phpif you do not use it, - known malicious IPs and vulnerability scanners,
- scrapers that ignore robots.txt and overload the server.
Quick checklist
- Logs show 200 responses for AI search crawlers
- Rate limits do not block verified crawlers
- No country blocks covering crawler locations, unless intended
- "Bad bot" lists reviewed line by line
- Host firewall rules confirmed
- CDN AI and bot settings reviewed
Security plugins protect your site; a quick review makes sure they do not also hide it from AI assistants. See the AEO checklist for WordPress for the full list.
