Block Website Visitors by Country
in One Click
Free WordPress geoblocking plugin with VPN detection, crawler bypass, and access logging. Just activate and select countries to block.
❌ The Problem
Spam, bots, and unwanted traffic from specific regions hurt your site’s performance, security, and conversions. Most geoblocking solutions require expensive subscriptions, complex API setups, or slow down your site significantly.
✅ The Solution
Country Blocker Lite gives you enterprise-grade geoblocking for free. Select the countries you want to block, and visitors from those regions see a professional restriction page. Your legitimate visitors and search engine crawlers pass through untouched.
Everything You Need to Block by Country
Powerful geoblocking features without the complexity or cost
Country Blocking
Block visitors from 200+ countries with a searchable checkbox interface. Select one country or dozens — changes are instant.
VPN & Data Center Detection
Block traffic from known VPNs, hosting providers, and data centers with one toggle. Stop users bypassing your geo-restrictions.
Crawler Bypass
Googlebot, Bingbot, and other search engines automatically bypass blocking. Your SEO rankings stay completely intact.
Access Logging
See who’s being blocked and allowed with built-in logging. Privacy-compliant with automatic IP hashing enabled by default.
No API Keys Required
Works out of the box using multiple free geolocation services with automatic fallback. Optional MaxMind integration for higher accuracy.
Privacy Compliant
GDPR and CCPA ready out of the box. IPs are hashed by default and you control data retention settings.
Up and Running in 30 Seconds
No complicated setup. No API keys. No configuration headaches.
Install
Upload and activate the plugin from WordPress.org or your dashboard
Select
Check the countries you want to block using the simple interface
Done
Visitors from blocked countries see a professional restriction page
🎬 See It In Action
Watch how Country Blocker works in under 2 minutes
Or try it yourself in a live sandbox
Try Live DemoSimple, Transparent Pricing
Start free, upgrade when you need more power
Lite
Perfect for getting started
✨ No credit card required
- ✓ Block by Country (200+ countries)
- ✓ VPN & Data Center Detection
- ✓ Search Engine Crawler Bypass
- ✓ Access Logging with IP Hashing
- ✓ GDPR & CCPA Compliant
- ✓ Automatic Updates
- ✗ Faster Priority Support
- ✗ Block by Continent
- ✗ Block US States
- ✗ Block Canadian Provinces
- ✗ Block United Kingdom Regions
- ✗ Block Australian States
- ✗ Block German States
- ✗ Block Indian States & Territories
- ✗ Block Chinese Provinces
- ✗ IP Whitelist (Always allow specific IPs)
- ✗ IP Blacklist (Always block specific IPs)
- ✗ IP Range Support (CIDR notation)
- ✗ Custom Block Page Colors
- ✗ Custom Block Page Message
- ✗ Custom CSS Editor
- ✗ Redirect to Custom URL Option
- ✗ Export Logs to CSV
- ✗ Smart Log Retention Settings
Pro
For serious geoblocking needs
🔥 Unlimited Sites • Cancel anytime
- ✓ Unlimited Sites License
- ✓ Block by Country (200+ countries)
- ✓ VPN & Data Center Detection
- ✓ Search Engine Crawler Bypass
- ✓ Access Logging with IP Hashing
- ✓ GDPR & CCPA Compliant
- ✓ Automatic Updates
- ✓ Faster Priority Support
- ✓ Block by Continent (Africa, Asia, Europe, North America, South America, Oceania, Antarctica)
- ✓ Block United States States (All 50 states + DC, Puerto Rico, Guam, US Virgin Islands)
- ✓ Block Canadian Provinces (Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland, Nova Scotia, Ontario, PEI, Quebec, Saskatchewan, NWT, Nunavut, Yukon)
- ✓ Block United Kingdom Regions (England, Scotland, Wales, Northern Ireland)
- ✓ Block Australian States (New South Wales, Victoria, Queensland, Western Australia, South Australia, Tasmania, ACT, Northern Territory)
- ✓ Block German States (All 16 Bundesländer including Bavaria, Berlin, Hamburg, etc.)
- ✓ Block Indian States & Territories (All 28 states + 8 union territories)
- ✓ Block Chinese Provinces (All 31 provinces including Beijing, Shanghai, Guangdong, etc.)
- ✓ IP Whitelist (Always allow specific IPs)
- ✓ IP Blacklist (Always block specific IPs)
- ✓ IP Range Support (CIDR notation)
- ✓ Custom Block Page Colors
- ✓ Custom Block Page Message
- ✓ Custom CSS Editor
- ✓ Redirect to Custom URL Option
- ✓ Export Logs to CSV
- ✓ Smart Log Retention Settings
Who Uses Country Blocker?
Trusted by thousands of WordPress sites worldwide
eCommerce Stores
Restrict sales to specific regions for shipping or licensing compliance
Service Businesses
Comply with professional licensing and regional service restrictions
Publishers & Media
Manage content distribution rights and regional restrictions
Agencies
Protect client sites from spam and bot traffic from specific regions
Security-Focused Sites
Reduce attack surface by blocking high-risk regions
Anyone
Tired of spam, bots, and unwanted traffic from certain countries
Frequently Asked Questions
Will this slow down my site?
No. Geolocation results are cached for 24 hours. The check happens before WordPress fully loads, so blocked visitors never hit your database.
What happens to blocked visitors?
They see a professional, mobile-friendly restriction page. In Pro, you can customize this page or redirect to any URL.
Will this block search engines?
No. Googlebot, Bingbot, and other major crawlers are automatically allowed through. Your SEO is completely protected.
Do I need an API key?
No. The plugin uses multiple free geolocation services automatically. Optional MaxMind integration is available for higher accuracy.
Is it GDPR compliant?
Yes. IP addresses are hashed by default and logs auto-delete after 30 days. You’re in full control of data retention.
What if I lock myself out?
Your wp-login.php and admin area are never blocked. You can always access your dashboard to adjust settings.
Start Blocking Unwanted Traffic Today
No credit card. No API keys. No configuration headaches.
⬇️ Download Free from WordPress.org