Block Logins with Cloudflare
Block Logins with Cloudflare helps protect your WordPress site from brute-force attacks by blocking IPs at the Cloudflare firewall after a configurable number of failed login attempts.
Use with caution
Block Logins with Cloudflare works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Block Logins with Cloudflare stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| Brute Force | >100 |
| cloudflare | >100 |
| firewall | >100 |
| login | >100 |
| security | >100 |
About Block Logins with Cloudflare
From the official readme · v1.2.1Description
Block Logins with Cloudflare helps protect your WordPress site from brute-force attacks by blocking IPs at the Cloudflare firewall after a configurable number of failed login attempts.
- Block IPs via Cloudflare after X failed login attempts
- Block IPs that generate excessive 404 responses (bots and scanners)
- Block IPs attacking via XML-RPC with intelligent detection
- Automatic unblocking after a configurable duration
- Whitelist IPs to never block or track them (supports IPv6 CIDR ranges)
- View and manually unblock blocked IPs from the admin
- Block source tracking — see whether each IP was blocked via login, XML-RPC, or 404
- Secure settings page with Cloudflare API token validation
- Hourly cron job for automatic maintenance
External Services
This plugin relies on the Cloudflare API to function. It communicates with Cloudflare’s external servers to block IP addresses at the firewall level.
What is the Cloudflare API and what is it used for?
The Cloudflare API is a RESTful service provided by Cloudflare, Inc. that allows programmatic management of Cloudflare firewall rules. This plugin uses it to automatically block and unblock IP addresses based on failed login attempts, XML-RPC attacks, and 404 scanning activity.
What data is sent and when?
The plugin sends the following data to Cloudflare’s API servers:
-
During settings validation (when you save Cloudflare credentials):
- Your Cloudflare API token (for verification)
- Endpoint:
https://api.cloudflare.com/client/v4/user/tokens/verify
-
When blocking an IP (after a threshold is reached):
- The IP address to be blocked
- Your Cloudflare email address and API key/token
- Your Cloudflare Zone ID
- A note describing the reason for the block
- Endpoint:
https://api.cloudflare.com/client/v4/zones/{zone_id}/firewall/access_rules/rules
No personally identifiable information about your WordPress users is transmitted. Only IP addresses are sent to Cloudflare.
Service provider information:
– Service: Cloudflare API
– Provider: Cloudflare, Inc.
– Terms of Service: https://www.cloudflare.com/terms/
– Privacy Policy: https://www.cloudflare.com/privacypolicy/
– API Documentation: https://developers.cloudflare.com/api/
Required for functionality:
This plugin requires a Cloudflare account and will not function without valid Cloudflare API credentials. The external API calls are essential to the plugin’s core functionality.
License
GNU General Public License v2 or later
Installation
- Upload the plugin files to the
/wp-content/plugins/block-logins-cfdirectory, or install through the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen.
- Go to Block Logins CF in the admin sidebar to configure your Cloudflare credentials and settings.
Changelog
Adds 404 blocking, XML-RPC protection, block source tracking, and IPv6 CIDR whitelist support.
1.1
- Added 404-based IP blocking to detect and block bots and vulnerability scanners
- Added XML-RPC protection with intelligent attack detection
- Added block source tracking — blocked IPs now show whether they were blocked via login, XML-RPC, or 404
- Added 404 activity log in the Blocked IPs admin page
- Added IPv6 CIDR range support in the IP whitelist
- Added caching for Cloudflare API token validation to prevent throttling
1.0
- Initial release
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Block Logins with Cloudflare alternatives
All Brute Force plugins →FAQ
Block Logins with Cloudflare: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Block Logins with Cloudflare free?
Yes. Block Logins with Cloudflare is free to download and use from the official WordPress.org plugin directory.
Is Block Logins with Cloudflare safe to use in 2026?
Block Logins with Cloudflare works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.
How many websites use Block Logins with Cloudflare?
Block Logins with Cloudflare is active on <10 WordPress websites and has been downloaded 674 times since it launched in March 2026. It was downloaded 75 times in the last 30 days.
Does Block Logins with Cloudflare work with WordPress 7.1?
Block Logins with Cloudflare is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Block Logins with Cloudflare need?
Block Logins with Cloudflare requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Block Logins with Cloudflare last updated?
The latest version, 1.2.1, was released on August 16, 2026 (4 months ago).
Who makes Block Logins with Cloudflare?
Block Logins with Cloudflare is developed and maintained by supersoju.
What are the best alternatives to Block Logins with Cloudflare?
The most popular alternatives to Block Logins with Cloudflare are Limit Login Attempts Securi… (1M+ installs), CloudSecure WP Security (200K+ installs) and Anti-Malware Security and B… (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
