Simple AI Blocker

Block AI Crawlers directly via their IP addresses or user-agents.

Author:maxhaesslein (profile at wordpress.org)
WordPress version required:5.2
WordPress version tested:6.6.2
Plugin version:0.2.2
Added to WordPress repository:08-10-2024
Last updated:08-10-2024
Rating, %:0
Rated by:0
Plugin URI:https://github.com/maxhaesslein/simple-ai-blo...
Total downloads:476
plugin download
Click to start download

Block AI Crawlers directly via their IP addresses or user-agents. The blocking happens directly on the server, and not via robots.txt, so it should also block crawlers that do not respect the robots.txt.

This plugin may not work if you use a caching plugin that hooks before the ‘plugins_loaded’ hook. I may add compatibility in a future update.

After installation you need to activate blocking on the plugin settings page. The default settings should suffice, but you can add additional IP addresses, user agents or even JSON endpoints with lists of ip ranges.
The visitor ip address server variable can also be customized, if your site is behind a reverse proxy and REMOTE_ADDR is not available.

If you want to delete all data the plugin saves in your database, activate the ‘delete all plugin data on uninstall’ option before uninstalling.


Screenshots
ChangeLog