| 开发者 | royalpluginsteam |
|---|---|
| 更新时间 | 2026年7月26日 13:20 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
fingerprints.royalplugins.com. The plugin never sends your site's traffic, customer data, IP addresses, or credentials to any third party regardless of toggle state.
AI Bots Recognized (68 as of v1.0.2)
The bundled catalog covers the major AI bot families. Each entry includes the bot's owner, intended purpose, default policy, and the blocking consequences (for example, "blocking GPTBot may remove your site from ChatGPT search results").
Training crawlers: GPTBot, ClaudeBot, anthropic-ai, Bytespider, TikTokSpider, FacebookBot, Meta-ExternalAgent, GoogleOther, GoogleOther-AI, Google-Extended, Google-CloudVertexBot, MistralBot, KimiBot, cohere-ai, cohere-training-data-crawler, ai2bot, ai2bot-dolma, Amazonbot, PetalBot
Retrieval bots (on-demand): ChatGPT-User, OAI-AdsBot, ClaudeBot-User, Claude-Web, claude-code, Perplexity-User, Kimi-User, YandexAdditionalBot, Meta-ExternalFetcher, facebookexternalhit, APIs-Google
AI search engines: OAI-SearchBot, PerplexityBot, Claude-SearchBot, Kimi-SearchBot, MistralAI-Index, YandexAdditional, meta-webindexer, Applebot-Extended, MicrosoftCopilotBot, DuckAssistBot, YouBot, PhindBot, iAsk, Komo, Liner, Brave Leo, Andi
Search engines (always-allow guarded): Googlebot, Googlebot-Image, Googlebot-Video, Googlebot-News, Bingbot, BingPreview, Applebot, DuckDuckBot
Other search engines: Baiduspider
Agent browsers (newer category): OperatorAgent, ChatGPT-Atlas, Claude-Computer-Use
Dataset scrapers: CCBot (Common Crawl), Diffbot, ImagesiftBot, Omgilibot, Timpibot
Other Google crawlers: Storebot-Google, Mediapartners-Google, AdsBot-Google, adidxbot
The Dashboard
Open the AI Firewall menu in your WordPress admin to see:
cf-ray, cf-connecting-ip, or CDN-Loop: cloudflare headers) and shows a status card with the detection state. A persistent 24-hour state ensures the UI stays stable even when an occasional admin request doesn't pass through CF.
Other CDN Compatibility
The setup wizard also recognizes 6 additional CDNs by their vendor-forwarded request headers: Bunny CDN, Fastly, KeyCDN, Sucuri, StackPath, and Akamai. Detection is header-sniff only — no outbound HTTP, no DNS lookups.
When any of these are detected, the wizard shows a compatibility note rather than a network-specific dial-down (Cloudflare remains the only CDN with a full walkthrough because its AI controls are the most common source of operator confusion). Royal AI Firewall sees AI bot traffic that reaches WordPress regardless of which CDN sits in front — if you have edge-side AI-bot rules configured on your CDN, consult its documentation, as the two layers can coexist.
Other Security Plugin Compatibility
The plugin auto-detects these plugins when they're active and shows compatibility notes on the dashboard and Settings page:
wp_before_execute_ability and wp_after_execute_ability (WP 6.9+) and logs every ability invocation regardless of which MCP server triggers it. If you have any MCP server plugin installed and an AI agent calls an ability, you'll see it in the MCP Activity widget on the dashboard.
If Royal MCP 1.4.33 or later is installed, an additional first-party bridge captures every MCP tool call from that server with full tool name and result status.
Search Engine Guard
Major search engines are protected from accidental blocking by default. The dashboard dropdown is disabled for Googlebot, Bingbot, Applebot, and DuckDuckBot. The REST API endpoints reject block attempts on these bots with a 409 Conflict response unless the customer has explicitly enabled the "Search engine override" toggle in Settings. The override toggle includes a clear warning that blocking Googlebot removes the site from Google Search.
Telemetry and Data
Anonymous usage data is OFF by default. The plugin makes no outbound HTTP call for telemetry unless you explicitly opt in — via the setup wizard's final step or the "Anonymous usage data" toggle in Settings.
If you opt in, once per week the plugin POSTs a small JSON payload to telemetry.royalplugins.com. The payload contains:
fingerprints.royalplugins.com for a fresher bot catalog when you enable "Keep catalog updated between releases." That request body is empty and includes only the plugin version in the User-Agent header. See the "External Services" section below.
Log retention defaults to 7 days. The retention window is filterable via raif_log_retention_days for developers who need a different value.
How Activation Works
On activation the plugin:
raif_invocation_log, raif_daily_rollup, raif_bot_policycurl -A "GPTBot/1.2" https://your-site.com/Yes, if you use Cloudflare for DDoS protection, general WAF rules, SSL/TLS, or caching. Keep Cloudflare's core protections on. This plugin handles only the AI-bot-specific layer at WordPress, so you can dial down Cloudflare's AI Audit / AI Labyrinth / custom AI-blocking WAF rules. The setup wizard's Cloudflare screen lists exactly which CF toggles to flip.
No. Googlebot, Bingbot, Applebot, and DuckDuckBot are protected from accidental blocking. The per-bot dropdown is disabled for these bots by default. To block any of them, you must explicitly enable the "Search engine override" toggle in Settings, which warns clearly that blocking Googlebot removes your site from Google Search.
Yes. Edge-firewall security plugins run their own firewalls before WordPress loads, so AI bots they block won't appear in this plugin's dashboard — but the two layers don't conflict. The plugin auto-detects popular security plugins on activation and shows compatibility notes.
Yes. The plugin hooks into the WordPress Abilities API (WP 6.9+) and logs every ability invocation regardless of which MCP server triggers it. If Royal MCP 1.4.33 or later is installed, an additional first-party bridge captures every MCP tool call with full detail.
By default, data is preserved. The plugin's tables and logs survive uninstall so a reinstall picks up where you left off. To delete everything on uninstall, check the "Delete all logs, tables, and options when the plugin is uninstalled" toggle in Settings → Data before deactivating.
Almost always a caching plugin caching the REST API response. The plugin already does four things to prevent this — a cache-buster query string on every dashboard request, nocache_headers() + DONOTCACHEPAGE constant on the handler, explicit Cache-Control: no-store response headers, and built-in compatibility filters that opt out of caching for the most common cache plugins.
If you use a different cache plugin or a server-side cache (nginx fastcgi_cache, Cloudflare Page Rules, Varnish), exclude the path /wp-json/royal-ai-firewall/* from REST API caching in that plugin's settings.
A fresh bot catalog ships with every Royal AI Firewall release, so every time you update the plugin through your wp-admin → Plugins screen you get the newest catalog automatically — no outbound network call required. Plugin updates typically ship every 2–4 weeks, faster after major AI-vendor launches.
If you want catalogs fresher than the per-release cadence, an optional Settings toggle ("Keep catalog updated between releases") opts in to one HTTP GET per day to fingerprints.royalplugins.com. That toggle is off by default; no outbound HTTP call is ever made until you turn it on.
No, not by default. Out of the box the plugin makes zero outbound HTTP calls. The bot catalog ships bundled with the plugin and refreshes on every plugin update. If you explicitly enable the "Keep catalog updated between releases" toggle in Settings or on the final wizard step, the plugin will then make one HTTP GET per day to fetch a fresher catalog — but only after that opt-in, and only that one call. Turning the toggle back off immediately unschedules the cron. No telemetry, license checks, or analytics calls are ever made regardless of toggle state.
No. Every feature ships in the free release on WordPress.org. No upgrade prompts, no license keys, no SaaS subscription.
The setup wizard also recognizes Bunny CDN, Fastly, KeyCDN, Sucuri, StackPath, and Akamai. The classifier and per-bot controls work at the WordPress layer regardless of which CDN sits in front. Cloudflare gets a full dial-down walkthrough because its AI controls are the most common source of operator confusion; other CDNs get a compatibility note instead.
The hot-path classification logic has a hard budget of under 5 milliseconds per request and is enforced by a continuous-integration test. The classifier runs in-process against a 68-entry pre-compiled pattern list. Logging is buffered and flushed on the WordPress shutdown hook (after the response is sent), so the response latency a visitor sees is not affected by database writes.
This release identifies bots by matching the User-Agent header against the bundled fingerprint catalog. A spoofed User-Agent will match a real bot's record, so treat the dashboard as the answer to "what's claiming to be each bot" rather than a verified attribution. For the search-engine guard, blocking is still off by default — a spoofed Googlebot UA can't be blocked unless you explicitly enable the Search engine override toggle, and managing the actual edge layer (Cloudflare, your CDN, or a security plugin running before WordPress) remains the right place to enforce identity at the network level.