WordPress.org

Ready to get started?Download WordPress

Plugin Directory

iQ Block Country

Block visitors from countries you don't want on your website. Based on which country an ip address is from.

1.1.12

  • Bugfix on the backend blacklist / whitelist

1.1.11

  • Added select box on how many rows to display on the logging tab
  • Redirect blocked users to a specific page instead of displaying the block message.
  • Added blacklist and whitelist of IP addresses to the backend.
  • Adjusted some text
  • Minor bugfixes

1.1.10

  • Small fixes
  • WP 3.9 compatability issue fixed

1.1.9

  • Bugfix release due to faulty v1.1.8 release. My Apologies.

1.1.8

  • Smashed a bug where the homepage was unprotected due to missing check.

1.1.7

  • Added Russian (ru_RU) translation by Maxim
  • Added Serbo-Croatian (sr_RU) translation by Borisa Djuraskovic (Webostinghub)
  • Changed the logging table a bit.

1.1.6

  • Added to ban categories. This works the same way as blocking pages (By request of FVCS)
  • Changed the admin page layout. Added tabs for frontend and backend blocking to make it look less cluttered
  • Added optional tracking to the plugin. This is an experiment to see if building a database of IP addresses that try to login to the backend is viable.
  • Upon first activation the plugin now fills the backend block list with all countries except the country that is currently used to activate.
  • Added IP checking in header HTTP_CLIENT_IP and HTTP_X_REAL_IP

1.1.5

  • Statistics required wp-config.php in a specific place bug smashed.

1.1.4

  • Added import/export function.
  • Minor bugs solved

1.1.3

  • Fixed error that when using the option to block individual pages all visitors would be blocked. (Thanks to apostlepoe for reporting)

1.1.2

  • Fixed localization error. (Thanks to Lisa for reporting)

1.1.1

  • You can now choose to block individual pages. Leaving other pages open for visitors from blocked countries. You can for instance use this feature to block countries from visiting specific pages due to content rights etc.
  • Source now supports localization. Included is the English and Dutch language. I'd be happy to include other translations if anyone can supply those to me.

1.1

  • Added statistics to the plugin.
  • You can view the last 15 hosts that were blocked including the url they visited.
  • You can view the top 15 of countries that were blocked in the past 30 days.
  • You can view the top 15 of hosts that were blocked in the past 30 days.
  • You can view the top URL's that were most blocked in the past 30 days.

1.0.12

  • The block message size box is now larger so there is more room for styling the message.
  • Whitelist of IPvX IP addresses for the frontend. Use a semicolon to separate IP addresses.
  • Blacklist of IPvX IP addresses for the frontend. Use a semicolon to separate IP addresses.

1.0.11

  • You are now able to lookup which country belongs to an ip address in the backend. If the IP address is from a country that is banned this will be displayed.
  • New way of selecting countries you wish to block upon multiple request. The selection box is now in sort of facebook style.
  • Choose if you want to sent out headers or not. For people who get "Cannot modify header information - headers already sent" errors.
  • Counter added for how many visitors where blocked from frontend and backend website.
  • Code cleanup

1.0.10

  • You can select different countries to block from your frontend website and your backend website.
  • Made it more visible what IP you are logged in from, which country it is from and that you should not block your own country from your backend site.
  • Minor changes to the settings page.
  • A bit of code cleanup for future improvements.

1.0.9

  • Bugfix release. The backend was not blocked in multi-site (network) setup.

1.0.8

  • Automatically download new GeoIP updates from Maxmind. This is checked each time you login on the WordPress admin site (Code by williewonka)
  • Also block login attempts to the wp-admin site (Code by williewonka)
  • Send no cache headers with the output.

1.0.7

  • The plugin now detects if your IP address is blocked by MaxMind when downloading the GeoIP database and if so has an adjusted error message.
  • New option: New checkbox to allow you to not block users that are logged in despite if they come from a blocked country. Use wisely :-)
  • First version of IPv6 support.
  • New Download IPv6 database button. Press "Download new GeoIP IPv6 database" if you need IPv6 support.

1.0.6

  • Fixed error when not being able to download the GeoIP.dat.gz file from Maxmind it would not display the correct path.

1.0.5

  • Corrected php opening tags (Reported by Phil from msiii.net)
  • Sorted list of countries (As suggested by Phil from msiii.net)
  • You can now customize the message that users get when they are blocked.
  • We moved from http://www.trinyx.nl/ to http://www.redeo.nl/. Please update your links :-)

1.0.4

  • Added a button to download the new GeoIP database.

1.0.3

  • FAQ updated
  • Try to make sure this plugin is loaded first to avoid "headers already sent" trouble.

1.0.2

  • PHP 5.2 or higher required
  • Fixed an include bug when other plugins also use the MaxMind database. Thanks to Marcus from LunaWorX for finding this bug.

1.0.1

  • Included the necessary geoip.inc file.. duh

1.0

  • Initial release

Requires: 3.5.2 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-1
Downloads: 68,578

Ratings

3 stars
3.5 out of 5 stars

Support

2 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

67,3,2 50,2,1 100,1,1
50,2,1
100,3,3
100,1,1
100,1,1
0,3,0
0,1,0
100,1,1
0,1,0
100,2,2
0,1,0
0,2,0
50,4,2 100,1,1 67,3,2 100,1,1
67,3,2
100,1,1 25,4,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1
100,2,2
0,1,0
0,1,0 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2 100,2,2 0,1,0 100,1,1
100,1,1
100,1,1
100,2,2 100,1,1
100,1,1