Clownsteins Rogue Agent Defender

Clownsteins Rogue Agent Defender

By Albert
Details
View on WordPress

Clownsteins Rogue Agent Defender lets a site administrator choose which documented AI crawler tokens to block and which inference services WordPress itself may call.

The user-agent check returns 403 when a request header contains a selected token that the operator sends as a user agent. Google-Extended and Applebot-Extended are robots.txt tokens only, because those names are never sent as a User-Agent. Requests for the site’s robots.txt address are not blocked.

The robots.txt option adds one Disallow group to the robots.txt file WordPress generates. A robots.txt file already stored in the web root is left unchanged.

The HTTP API option blocks requests WordPress makes with wp_remote_* and the other WordPress HTTP API functions when the destination is a selected inference service. Programs that open their own connections are not affected.

Creator: Albert Clownstein.

Details

Plugin code:
clownsteins-rogue-agent-defender
Plugin version:
1.0.0
Author:
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.2 or higher
Test up to WP version:
7.1.2
Total installations:
0
Last updated:
2026-10-01
Rating:
Times rated:
0
ai
crawlers
robots
security