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…
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 🙂