@offshorepen Sorry for the issue. It has been fixed. Please download the plugin again.
Thank you ip2location, the blocking works fine now 🙂
however now there is one more little wrinkle… when I choose to display URL instead of error message, my website is getting the following output instead of the URL content:
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/themes/virtue/templates/head.php:2) in /wp-content/plugins/ip2location-country-blocker/index.php on line 261
The same warning is displayed above the actual “Page Error 403: Access Denied ” text if I go for ‘page error’ rather than URL.
Regards 🙂
It seems like other plugin/theme is loaded before this plugin is loaded. Please deactivate and activate this plugin again to make this plugin run as first priority. You may clean your cache as well if you are using any caching plugins.
Turned off all plugins, cleared cache, turned on ip2location only and still same output… I’m guessing it has something to do with the theme itself…
I installed IP2Location Country Blocker v1.3 Downloaded DB 3 and 9 Lite versions. It recognizes IP locations, but blocking doesn’t work… Blocked Countries can access my website.