WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by vpndeals v1.0.2

Country Block

🚀 INSTANT, 100% FREE & PRECISE: The Essential Geo Blocker! Ban, block, or restrict countries with Guaranteed accuracy via Daily MaxMind Updates.

Country Block

The facts

Rating
4.2★ from 5
Active installs
100+
Price
Free
Last updated
3 Feb 2026
Added
Oct 2025
Requires WP
5.8
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
1,214

Our analysis

AI-assisted

Country Block is a WordPress plugin designed to help you control access to your website based on the geographic location of visitors. It allows you to block or allow traffic from specific countries, which can help reduce spam and malicious activity. The plugin is user-friendly and features a guided setup process to get you started quickly.

The plugin uses a local GeoLite2 database for accurate geolocation blocking and is compatible with CDNs and reverse proxies. It provides options to customize messages for blocked visitors and track blocked requests, making it suitable for those looking to enhance their site's security and manage access effectively.

Best for: This plugin is suitable for website owners wanting to manage access based on visitor locations.

What it does well

  • User-friendly setup wizard
  • Compatible with CDNs and reverse proxies
  • Tracks blocked requests with detailed statistics
  • Uses a reliable local GeoLite2 database
  • Customizable messages for blocked visitors

Where it falls short

  • Limited information on additional features
  • May require a MaxMind account for database updates

Verdict

Country Block offers a straightforward solution for geolocation blocking, making it a practical choice for enhancing website security and access control.

From the developer

vpndeals's own description of Country Block, lightly tidied.

Country Block provides an exceptionally user-friendly, powerful, and modern IP geolocation blocking experience for WordPress. Our mission is to offer incredible value for free, helping you secure your website and control access with precision and ease.

Whether you want to block traffic from specific countries to reduce spam and malicious activity, or ensure your content is only accessible to visitors from designated regions, Country Block offers a flexible and robust solution.

Core Features:

  • Effortless Country Blocking: Easily block or allow access from multiple countries or pre-defined groups like the European Union.
  • Compatibility & Real IP Detection: Fully compatible with CDNs and reverse proxies like Cloudflare, Varnish, and Nginx. Includes an advanced setting to ensure the visitor’s real IP address is always detected, even behind proxy layers.
  • Express Onboarding Setup: A guided wizard gets you up and running in minutes upon activation.
  • Modern “2030 Era” UI: Enjoy an intuitive, clean, and responsive admin interface that’s a pleasure to use.
  • Flexible Geolocation Source:
    • Free Local Database (GeoLite2 by MaxMind): High-performance, reliable country-level blocking using a local MaxMind GeoLite2 database, updated automatically every day to ensure maximum accuracy. Requires a free MaxMind account for database updates.
    • Show a customizable message (supports basic HTML).
    • Redirect blocked visitors to a specific WordPress page.
    • Keep track of blocked requests (IP, country, reason, timestamp).
    • View statistics on blocked activity.
    • Option to anonymize logged IPs for privacy.

    Looking to block VPNs, Proxies, or TOR users? For an additional layer of security and anonymity control, check out our companion plugin: VPN Guard!

    External Services

    This plugin utilizes external services for its functionality.
    When you use features that rely on these services, this plugin may send data, including the visitor’s IP address, to the respective third-party service.

Tagged as

Alternatives

Other plugins for securing a site.

Really Simple Security

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vuln...

Free 3M+ installs 4.9★ (8,862)
Wordfence Security

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team....

Free 5M+ installs 4.7★ (4,983)
Akismet Anti-spam: Spam Protection

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam sol...

Free 5M+ installs 4.7★ (1,186)
Loginizer

Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks.

Free 1M+ installs 4.8★ (1,030)
Safe SVG

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

Free 1M+ installs 4.9★ (79)
All-In-One Security

Protect your website investment with All-In-One Security (AIOS) – a comprehensive and easy to use security plu...

Free 1M+ installs 4.7★ (1,715)