WordPress 6.9 and 7.0 ship AI features: an AI Client API, provider connectors for Anthropic, Google and OpenAI, an Abilities API that lets an AI agent read and act on a site, and nudges in the admin that push them. WS NoAI switches all of that off the moment it is activated, and sends AI crawlers into a maze of synthetic pages instead of your content. Each surface has its own switch, so a site can allow one thing back without allowing the rest.
Download v1.0.0wp_supports_ai() returns false, so every core AI prompt returns a WP_Error instead of calling a provider. Two levers: the WP_AI_SUPPORT constant (no filter can undo it) and a filter at the lowest priority.ai_provider is unregistered early, so their API-key settings never appear in /wp/v2/settings either. Non-AI connectors such as Akismet are left alone.wp-abilities/v1 REST routes are removed along with their entry in the REST index. This is the surface an AI agent or MCP client reads a site through.ai-provider-for-* plugins are dropped from the installer listings. Everything suppressed is listed on the Status tab.The plugin identifies 23 AI crawlers by user agent (GPTBot, ClaudeBot, CCBot, Bytespider, Meta, Amazonbot, PerplexityBot and more). Four modes: count only, robots.txt and headers only, block with 403, or the maze (default). It also publishes the polite opt-out: a robots.txt block, a Content-Signal line, X-Robots-Tag: noai, noimageai and the matching robots meta tag.
The maze serves generated pages instead of real content. Each page is seeded from its own URL, so one URL always gives the same page and the same links; it reads as a stable site, not as noise. The text comes from a fixed vocabulary; no post, page, excerpt or user data is ever used. It is finite on purpose: links per page × depth, 72 pages by default, densely cross-linked. Every maze page is noindex, nofollow, noarchive, nosnippet and no-store, the maze prefix is disallowed in robots.txt, and maze URLs return 404 to anyone who is not an identified AI crawler. Logged-in users, wp-admin, REST, cron, AJAX, WP-CLI and robots.txt are never touched. The artificial delay is 0 by default.
The allowlist is checked first and wins outright: Googlebot, bingbot, DuckDuckBot, Slurp, Baiduspider, YandexBot, Applebot, PetalBot, Seznam, the social preview bots and the site's own loopback requests. Optional forward-confirmed reverse DNS verification (cached for a week) confirms the big ones. An unverifiable claim is still let through, because wrongly mazing a real search engine costs far more than letting one spoofer read the site.
WS NoAI, Settings. Eight switches for the core surfaces, all on after activation: block the AI Client API, define WP_AI_SUPPORT as false, unregister AI provider connectors, hide Settings → Connectors, unregister core abilities, unregister every ability, remove the wp-abilities/v1 REST routes, suppress AI notices. Below them the crawler section: the mode, the opt-out signals, reverse DNS verification, hit counters, the maze parameters and one checkbox per crawler.
wp option update wordpress_api_key <key> or the WPCOM_API_KEY constant, or untick "Hide Settings → Connectors".Ability "mcp-adapter/discover-abilities" not found to the error log on every request. The shop keeps working. Untick it if something stops working, and prefer "Unregister core abilities" alone.A drop-in page cache (advanced-cache.php) runs before plugins load, so it can serve a real cached page to an AI crawler before this plugin sees the request. The Status tab warns when one is active. The fix is to exclude the AI user agents from the cache, or to block them at the edge, for example with a Cloudflare rule.
Deactivating is enough to bring core's AI features back: every block is a filter or a constant that only exists while the plugin runs. Updates are self-hosted: the plugin reads its Update URI header and checks https://websqu.ad/updates/ws-noai.json. New versions show up in the standard WordPress updates screen.
wp ws-noai status — one measured verdict per surface.wp ws-noai block-all / wp ws-noai unblock-all — all switches on or off.wp ws-noai crawlers — the crawler table with hit counters.wp ws-noai test-ua "<user agent>" — what the site would do for this user agent.wp ws-noai purge-keys — delete stored connectors_ai_*_api_key options. Irreversible, never done automatically.ws_noai_notice_patterns — regular expressions that mark a notice as an AI nudge.ws_noai_blocked_plugin_prefixes — plugin slug prefixes hidden from the installer.ws_noai_crawler_map — the crawler definitions.ws_noai_crawler_allowlist — user agents that are never treated as AI crawlers.ws_noai_classify — the final verdict for a request.ws_noai_enforcement_mode — the action taken for one identified crawler.ws_noai_x_robots_tag — the opt-out header value.websquad — brandsquad OÜ, Estonia. Support: [email protected]