Beginner7 min
Auto-blocking with the WordPress Plugin
The IPAbuse WordPress plugin blocks requests from high-risk IP addresses at the application layer — no server configuration needed. Install it from the plugin directory and enter your API key.
1
Install the plugin
In your WordPress dashboard go to Plugins → Add New, search for "IPAbuse Firewall", and click Install Now → Activate. Alternatively install via WP-CLI.
cURL
wp plugin install ipabuse-firewall --activate2
Enter your API key
Navigate to Settings → IPAbuse Firewall. Paste your API key into the API Key field and click Save.
3
Configure the block threshold
Set the Risk Level Threshold. Any visitor IP with a risk level at or above the threshold is blocked. MEDIUM is recommended for most sites.
4
Verify the plugin is working
The plugin logs blocked requests to the IPAbuse Firewall → Logs screen. Check the logs after a few minutes of traffic to confirm it is active.
check-logs.sh
# WP-CLI: tail the IPAbuse log table
wp db query "SELECT ip_address, risk_level, blocked_at FROM wp_ipabuse_log ORDER BY blocked_at DESC LIMIT 20;"