by Pascal
3.9 (163 reviews)
iQ Block Country
Allow or disallow visitors from certain countries accessing (parts of) your website
Tested up to WP 6.8.3 (Current: 6.9)
v1.2.26
Current Version v1.2.26
Updated 5 months ago
Last Update on 09 Aug, 2025
Synced 7 hours ago
Last Synced on
Rank
#1,165
-1 this week
Active Installs
20K+
-32%
KW Avg Position
75.3
—
No change
Downloads
1.2M
+87 today
Support Resolved
0%
—
No change
Rating
78%
Review 3.9 out of 5
3.9
(163 reviews)
Next Milestone 30K
20K+
30K+
27
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 746 more installs to reach 30K+
Rank Changes
Current
#1,165
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
3.9
163 reviews
Overall
78%
5
108
(66%)
4
6
(4%)
3
6
(4%)
2
7
(4%)
1
36
(22%)
Tracked Keywords
Showing 3 of 3| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| Geoblocking | 8 | — | Tag | 7 hours ago |
| ban countries | 19 | — | Tag | 7 hours ago |
| Block countries | 199 | — | Tag | 7 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.2.26
- Last Updated
- Aug 09, 2025
- Requires WP
- 3.5.2+
- Tested Up To
- 6.8.3
- PHP Version
- 7.4 or higher
- Author
- Pascal
Support & Rating
- Rating
- ★ ★ ★ ★ ☆ 3.9
- Reviews
- 163
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,738
Master Addons For Elementor – White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#930
User Switching
200K+ installs
#252
Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
200K+ installs
#256
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
200K+ installs
#268
Frequently Asked Questions
Common questions about iQ Block Country
It’s true that you might see hits from countries that you have blocked in your statistics software. This however does not mean this plugin does not work, it just means somebody tried to access a certain page or pages and that that fact is logged. If you are worried this plugin does not work you could try to block your own country or your own ip address and afterwards visit your frontend website and see if it actually works. Also if you have access to the logfiles of the webserver that hosts your website you can see that these visitors are actually denied with a HTTP error 403.
Other wordpress plugins handle the visitors also. They might run before iQ Block Country or they might run after iQ Block Country runs. This however does not mean this plugin does not work, it just means somebody tried to access a certain page, post or your backend and another plugin also handled the request. If you are worried this plugin does not work you could try to block your own country or your own ip address and afterwards visit your frontend website and see if it actually works. Also if you have access to the logfiles of the webserver that hosts your website you can see that these visitors are actually denied with a HTTP error 403. This plugin does not work, I blocked a country and still see visitors! Well, this plugin does in fact work but is limited to the data MaxMind provides. Also in your statistics software or logfiles you probably will see log entries from countries that you have blocked. See the "How come I still see visitors..." FAQ for that. If you think you have a visitor from a country you have blocked lookup that specific IP address on the tools tab and see which country MaxMind thinks it is. If this is not the same country you may wish to block the country that MaxMind thinks it is.
I am afraid this can only be solved by editing your MySQL database,directly editing the rows in the wp_options table. You can use a tool like PHPMyAdmin for that. If you don't know how to do this please ask your hosting provider if they can help, or ask me if I can help you out!
Well, if you can use a manual override so can the people that want to 'visit' your backend. This plugin is meant to keep people out. Perhaps you keep a key to your house somewhere hidden in your garden but this plugin does not have a key somewhere hidden... So if you locked yourself out you need to call a locksmith (or pick the lock yourself of course!)
You can style the message by using CSS in the textbox. You are also able to include images, so you could visualize that people are banned from your site. You can also provide a link to another page explaining why they might be banned. Only culprit is that it cannot be a page on the same domain name as people would be banned from that page as well. You can use for instance: body { color: red; background-color: #ffffff; } h1 { font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif } Go away! you basicly can use everything as within a normal HTML page. Including images for instance. Help! My IP address is not detected properly The iQ Block Country plugin does it's best to detect the real IP address of your visitors even if they try to hide it. However sometimes it fails in doing so and in that case you might get an different IP address for your users. For instance your webhosting IP address. You can overrule this process if it does not work properly in your case. Go to the Tools tab there is a section IP Address Information. It will show all server headers that contain IP information, see which header has your own IP address. On the home tab you can set this header where it says 'Override IP information'. You should only use this if the automatic IP detection fails otherwise please have it set to "No override"
In some circumstances: No The plugin does it best to prevent caching of the "You are blocked" message. However most caching software can be forced to cache anyway. You may or may not be able to control the behavior of the caching method. The plugin does it bests to avoid caching but under circumstances the message does get cached. Either change the behavior of your caching software or disable the plugin. If you want to block visitors from the frontend using a caching mechanism is not recommended.
You can press the CTRL key and select several countries. Perhaps also a handy function is that you can type in a part of the name of the country! You can select/deselect all countries by selecting "(de)select all countries..." If you just want to allow some countries you can also use the 'Block all countries except those selected below' function by selecting the countries you want to allow and select invert this selection.
You can download the database(s) directly from MaxMind and upload them to your website. Create an account at https://www.maxmind.com/en/geolite2/signup Login to your account.
Unzip the GeoIP2 database and upload the GeoLite2-Country.mmdb file to your upload dir usually /wp-content/uploads/GeoLite2-Country.mmdb Maxmind updates the GeoLite database every month. I get "Cannot modify header information - headers already sent" errors This is possible if another plugin or your template sends out header information before this plugin does. You can deactivate and reactivate this plugin, it will try to load as the first plugin upon activation. If this does not help you out deselect "Send headers when user is blocked". This will no longer send headers but only display the block message. This however will mess up your website if you use caching software for your website. This also does not work if you use a page or url redirect as that relies on sending headers for redirecting the visitor to another page or URL.
If you select this option each hour the plugin checks if it has new data to send back to the central server. This data consists of each IP address that has tried to login to your backend and how many attempts were made since the last check. If storing or sharing an IP address is illegal in your country do not select this feature. The laws in my country do not allow storing IP addresses as it is personal information. You can select the option on the home tab "Do not log IP addresses" to stop iQ Block Country from logging IP addresses. This will however also break the statistics. I have moved my WordPress site to another host. Now iQ Block Country cannot find the GeoIP databases anymore Somewhere in your WordPress database there is a wp_options table. In the wp_options table is an option_name called 'upload_path'. There probably is an (old) path set as option_value. If you know your way around MySQL (via PHPMyAdmin for instance) you can empty the option_value. This should fix your problem. Please note that your wp_options table may be called differently depending on your installation choices. Jetpack does not work anymore with your plugin! Jetpack uses xmlrpc.php to communicate with your site. xmlrpc.php is considered as a backend url and therefore blocked if needed. You can allow Jetpack by selecting "Jetpack by wordpress.com" as a search engine on the services tab.