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

iQ Block Country

Allow or disallow visitors from certain countries accessing (parts of) your website

iQ Block Country

The facts

Rating
3.9★ from 165
Active installs
20k+
Price
Free
Last updated
17 Jun 2026
Added
Mar 2010
Requires WP
3.5.2
Tested up to
WP 7.0.4
Requires PHP
7.4
Downloads
1,226,282

Our analysis

AI-assisted

iQ Block Country is a WordPress plugin designed to control access to your website based on the geographic location of visitors. You can allow or disallow access from specific countries, which can help manage unwanted traffic and enhance security. The plugin uses the GeoLite database from MaxMind for location data, providing a high level of accuracy for a free service.

This plugin is suitable for website owners who want to restrict access to their content based on visitor location. It allows for detailed control, including the ability to block entire countries or specific IP addresses, and offers options for custom messages or redirects for blocked visitors. However, it is important to note that while it can reduce unwanted visitors, it cannot guarantee complete security against determined attempts to access your site.

Best for: Website owners looking to restrict content access based on geographic location.

What it does well

  • Allows control over access based on visitor country
  • Uses the GeoLite database from MaxMind with 99.5% accuracy
  • Customisable messages or redirects for blocked visitors
  • Can block specific IP addresses while allowing others
  • Configurable data storage settings for visitor logs

Where it falls short

  • Cannot guarantee complete security against determined visitors
  • Requires manual download and upload of the GeoIP database for full functionality
  • May not work effectively if caching or proxying is in use

Verdict

iQ Block Country provides useful tools for managing visitor access based on location, but it requires some setup and cannot ensure total security.

From the developer

Pascal's own description of iQ Block Country, lightly tidied.

iQ Block Country is a plugin that allows you to limit access to your website content. You can either allow or disallow visitors from defined countries to (parts of) your content.

For instance if you have content that should be restricted to a limited set of countries you can do so.
If you want to block rogue countries that cause issues like for instance hack attempts, spamming of your comments etc you can block them as well.

Do you want secure your WordPress Admin backend site to only your country? Entirely possible! You can even block all countries and only allow your ip address.

And even if you block a country you can still allow certain visitors by putting their ip address on the allow list just like you can allow a country but put ip addresses on the block list from that country.

You can show blocked visitors a message which you can style by using CSS or you can redirect them to a page within your WordPress site. Or you can redirect the visitors to an external website.

You can (dis)allow visitors to blog articles, blog categories or pages or all content.

Stop visitors from doing harmful things on your WordPress site or limit the countries that can access your blog. Add an additional layer of security to your WordPress site.

This plugin uses the GeoLite database from Maxmind. It has a 99.5% accuracy so that is pretty good for a free database. If you need higher accuracy you can buy a license from MaxMind directly.
If you cannot or do not want to download the GeoIP database from Maxmind you can use the GeoIP API website available on https://webence.net/
If you want to use the GeoLite database from Maxmind you will have to download the GeoIP database from MaxMind directly and upload it to your site.
The WordPress license does not allow this plugin to download the MaxMind Geo database for you.

Please be aware that although this plugin can help you greatly with reducing the number of ‘bad’ visitors on your website it is not fool proof and those who really want to visit your site may find a away.
This is not a security issue but a simple fact of today. Nobody can guarantee you 100% security as it is a constant battle between the good guys and the bad guys.

If you are sure your webhosting or yourself does not use any form of caching or proxying we recommend setting the “Override IP information” on the Home tab to REMOTE_ADDR

Do you need help with this plugin? Please email support@webence.net.

GDPR Information

This plugin stores data about your visitors in your local WordPress database. The number of days this data is stores can be configured on the settings page. You can also disable logging any data.

Data which is stored of blocked visitors:

  • IP Address
  • Date and time of the visit
  • URL that was requested
  • Country of the IP address
  • If the block happened on your backend or your frontend

Data which is stored on non blocked visitors:

Read the full description on the official page →

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)