OWS IP & Country Block
OWS IP & Country Block is a powerful WordPress plugin that allows you to block users based on their IP addresses and countries. This plugin helps enhance your website security by preventing access from unwanted sources.
Use with caution
OWS IP & Country Block 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 OWS IP & Country Block stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| access-control | >100 |
| country blocking | >100 |
| firewall | >100 |
| IP-blocking | >100 |
| security | >100 |
About OWS IP & Country Block
From the official readme · v1.1.0Description
OWS IP & Country Block is a powerful WordPress plugin that allows you to block users based on their IP addresses and countries. This plugin helps enhance your website security by preventing access from unwanted sources.
Key Features:
- IP Address Blocking: Block specific IP addresses or IP ranges using CIDR notation
- Country-based Blocking: Block entire countries from accessing your website
- IP Whitelist: Create a whitelist of IP addresses that should never be blocked
- Customizable Block Message: Set a custom message to display to blocked users
- Access Logging: Keep track of blocked access attempts with detailed logs
- Easy Administration: Simple and intuitive admin interface
- Performance Optimized: Lightweight and fast with minimal impact on site performance
Use Cases:
- Prevent spam and malicious attacks from specific countries
- Block competitors from accessing your content
- Comply with legal requirements for geo-blocking
- Enhance security by blocking known malicious IP ranges
- Control access during maintenance or testing
Security Features:
- All user inputs are properly sanitized and validated
- Uses WordPress nonces for form security
- Follows WordPress coding standards and best practices
- Compatible with caching plugins and CDNs
External Services
This plugin connects to ip-api.com to determine the country of a visitor’s IP address. This lookup only occurs when country blocking is enabled and the visitor’s country is not already cached.
- Data sent: The visitor’s IP address.
- When: On each frontend page load when country blocking is active and no cached result exists for that IP.
- Service provider: ip-api.com
- Terms of Service: https://ip-api.com/docs/legal
- Privacy Policy: https://ip-api.com/docs/legal
Privacy Policy
This plugin stores IP addresses and country information for blocked access attempts in your WordPress database. This data is used solely for security purposes and is not shared with third parties. The plugin may make requests to free GeoIP services to determine visitor countries.
Support
For support, feature requests, or bug reports, please visit the plugin’s GitHub repository or contact the developer.
Credits
This plugin uses the IP-API service for country detection. Special thanks to the WordPress community for their coding standards and best practices.
Installation
- Upload the plugin files to the
/wp-content/plugins/ip-and-country-blockdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->IP & Country Block screen to configure the plugin
- Add IP addresses or select countries you want to block
- Enable the blocking features and save your settings
Changelog
Important security fix: IP detection no longer trusts spoofable client headers by default. If your site is behind Cloudflare or another reverse proxy, set the new "Trusted Proxy Header" option after upgrading or IP-based blocking may use the proxy's IP instead of the visitor's.
1.1.0
- Security: IP detection no longer trusts client-supplied headers (X-Forwarded-For, Client-IP, etc.) by default, which previously allowed spoofing to bypass blocks. A new “Trusted Proxy Header” setting lets you opt in to a specific header only if your site genuinely sits behind that proxy/CDN.
- Fix: CIDR matching now supports IPv6 ranges in addition to IPv4.
- Fix: uninstall routine now correctly drops the plugin’s log table (previous query used an invalid placeholder for the table name).
1.0.0
- Initial release
- IP address blocking with CIDR support
- Country-based blocking
- IP whitelist functionality
- Access logging
- Customizable block messages
- Admin interface
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 OWS IP & Country Block alternatives
All access-control plugins →FAQ
OWS IP & Country Block: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is OWS IP & Country Block free?
Yes. OWS IP & Country Block is free to download and use from the official WordPress.org plugin directory.
Is OWS IP & Country Block safe to use in 2026?
OWS IP & Country Block 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 OWS IP & Country Block?
OWS IP & Country Block is active on <10 WordPress websites and has been downloaded 291 times since it launched in July 2026. It was downloaded 59 times in the last 30 days.
Does OWS IP & Country Block work with WordPress 7.1?
OWS IP & Country Block 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 OWS IP & Country Block need?
OWS IP & Country Block requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was OWS IP & Country Block last updated?
The latest version, 1.1.0, was released on July 27, 2026 (4 months ago).
Who makes OWS IP & Country Block?
OWS IP & Country Block is developed and maintained by Abu Nawim.
What are the best alternatives to OWS IP & Country Block?
The most popular alternatives to OWS IP & Country Block are PublishPress Capabilities:… (90K+ installs), Content Control (40K+ installs) and PublishPress Permissions: A… (10K+ 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
