When you are locked out by misfortune, this feature inhibits the blocking behavior of this plugin.
This code block can be activated by replacing
/* (opening multi-line comment)
at the top of the line to
// (single line comment), or
* at the end of the
*/ (closing multi-line comment).
After saving and uploading it into
ip-geo-block in your plugins folder
/wp-content/plugins/) via FTP or cPanel File Manager,
you become to be able to login again as an admin.
Then you can re-configure “Maching rule” and “Country code for matching
rule” at “Validation rule settings” properly. After that, do not forget
to restore the
ip-geo-block.php on your server to the original one.
If you have no confidence in editing PHP file, please download ZIP from here and use it that “Emergent Functionality” is already activated.
Although the above processes is strongly recommended at your emergency, some users are not familiar with this type of jobs.
In that case, you can rename
ip-geo-block folder to
FTP or something. Then you cal login and see the following message on your
ip-geo-block.bak to the original, you can activate this plugin
You can also just forcibly remove
ip-geo-block in your plugin’s folder. Then
you’ll see the same message as the above picture on your plugin’s dashboard.
After that, you can reinstall through “Add New” button and reactivate again. But you’ll find soon you’re blocked again because your settings still remains in your database.
But don’t worry about that. A background process kicked by the activation will rescue you. After pausing for breath, you can visit your admin dashboard again!
ip-geo-apidirectory. If you do that, this solution becomes never to work.
If you’re familiar with the use of phpMyAdmin and know where the plugin’s
options are saved, you can change the value of
Disable. Please do it at your own risk.