Hi @ljfent,
Thanks for reaching out, and I’m sorry to hear you’re experiencing a lockout. Please don’t worry, your website is completely safe.
What you are experiencing is normal behavior when a strict rule is accidentally triggered. When you rename the plugin folder, you disable it at the PHP level, which restores your access. However, when you delete and reinstall the plugin, WordPress keeps the plugin’s settings safely stored in your database. As soon as you activate the fresh copy, it reads those old settings and applies the same block again.
The most common causes for this are:
- You had “Restrict login to Whitelisted IPs” enabled, and your internet service provider assigned you a new IP address.
- Your current IP or Country was accidentally caught in a strict security rule (like Geo-blocking or the WAF).
How to fix this and start fresh: Since you cannot access the plugin settings to unblock yourself, we need to clear the plugin’s configuration directly from the database to perform a true “clean reset”.
Method 1 (Using phpMyAdmin from your cPanel):
- Ensure the plugin is currently deactivated (or the folder is renamed so you can access your site).
- Log into your hosting cPanel and open phpMyAdmin.
- Select your WordPress database and navigate to the
wp_options table.
- Search for the row where
option_name is advaipbl_settings.
- Delete that row.
- Now, change the plugin folder name back to normal (or reinstall it) and activate it. The plugin will start with its default, safe settings, and you won’t be blocked.
Method 2 (Using a temporary snippet if you don’t want to use the database):
- Keep the plugin folder renamed so you can access your WP Admin.
- Install a free “Code Snippets” plugin or temporarily edit your theme’s
functions.php.
- Add this single line of code:
delete_option('advaipbl_settings');
- Load your website once (this fires the code and deletes the old settings).
- Remove that line of code immediately.
- Rename the Advanced IP Blocker folder back to normal and activate it.
Once you have access again, make sure to add your current IP to the Whitelist tab before enabling any strict login restrictions or country blocks!
Let me know if this helps you get back in control!
How to Unblock Yourself (Locked Out)
https://advaipbl.com/how-to-unblock-yourself-locked-out/
-
This reply was modified 1 month, 2 weeks ago by
IniLerm.