Title: SITE ADMIN LOCKOUT
Last modified: August 30, 2016

---

# SITE ADMIN LOCKOUT

 *  Resolved [RibOne](https://wordpress.org/support/users/ribone/)
 * (@ribone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/)
 * Being very clever? I thought it a very good idea to use the White Listed IP address.
   Low and behold it would appear that my IP address shown in the plugin box within
   WP Security is a dynamic one!
 * As you can imagine I’m now locked out of my own websites. I’ve ftp access and
   backup .htaccess and wp-config.php files on the server. Please can you if I can
   recover by moving these files to my current IP address.
 * Since this incident I’ve followed the ‘Tips & Tricks’. I can access the admin
   panel by the ‘front door’ but as having Admin Rights I get directed to an error
   message titled: FORBIDDEN etc. For some reason I’m being redirected to the old‘
   secure’ wp-admin URL which is then preventing normal re-login.
 * Any advice please.
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677313)
 * Hi did you check the following [thread](https://wordpress.org/support/topic/features-that-are-labelled-advanced?replies=25).
   Did you also make sure that no plugin entries remain in the .htaccess file?
 *  Thread Starter [RibOne](https://wordpress.org/support/users/ribone/)
 * (@ribone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677340)
 * Hi
 * Yes I’ve followed the tutorial on the above thread and successfully removed the
   plugin. I’ve also uploaded the original .htaccess from a bkUp. Even tried to 
   reinstall the plugin as I would still like to use it but without the ‘whitelist’
   module. This did not work so I removed the plugin again using the ftp method.
 * Something must still have instructions to default to the old ‘secure’ wp-admin
   logout URL that was set-up using the plugin. At the moment I can always go into
   Admin from the ‘front end’ and then logout to the error message URL. I would 
   really prefer a clean wordpress admin so that I can start all over again and 
   use the plugin as intended.
 * Any guidance please?
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677341)
 * Make sure that your .htaccess file has everything between the following headers
   removed including the headers.
 * **# BEGIN All In One WP Security
    # END All In One WP Security
 * Also Log into phpMyAdmin and locate the database for the website you are having
   problems with. Go to the WordPress “options” table. Look for the row which has
   the **option_name** value of **aio_wp_security_configs** and delete that row 
   also delete any entries with **aio_wp_security**.
 * Make sure you create a database backup just in case something goes wrong.
 *  Thread Starter [RibOne](https://wordpress.org/support/users/ribone/)
 * (@ribone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677347)
 * This the content of my .htaccess file from the server:
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 * I’ll do the phpMyAdmin stuff now.
 *  Thread Starter [RibOne](https://wordpress.org/support/users/ribone/)
 * (@ribone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677349)
 * Hi
    Backed up database as advised. removed two rows in table xxxxx_options
 * a) one for database
    b) one for configs
 * Found five (5) tables in database
    _aiowps_events _aiowps_failed_logins _aiowps__global_meta
   _aiowps_login_activity _aiowps_login_lockdown
 * Would you recommend to remove these too?
 * Regards
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677350)
 * Yes remove those tables as well.
 *  Thread Starter [RibOne](https://wordpress.org/support/users/ribone/)
 * (@ribone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677356)
 * Thanks for your support. It might help to somehow make it crystal clear that 
   using the whitelist when on a dynamic IP address will result in ‘lockout’, especially
   for me and my ‘straw head’. Mine stayed the same for quite a long period of time
   before my ISP changed the address.
 * I’m guessing now that I should be OK to download the plugin again and start afresh?
   It’s such a good security tool, must be if it locked out the website owner too!
 * Finally thanks again for all your support.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677358)
 * You are most welcome and I am happy to hear that you have resolved your issue.
 * Well done.
 * If you no longer need any more help with this support thread can you mark it 
   as resolved.
 * Thank you
 *  Thread Starter [RibOne](https://wordpress.org/support/users/ribone/)
 * (@ribone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677359)
 * Thank

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘SITE ADMIN LOCKOUT’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [All in One Security](https://wordpress.org/support/topic-tag/all-in-one-security/)

 * 9 replies
 * 2 participants
 * Last reply from: [RibOne](https://wordpress.org/support/users/ribone/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/site-admin-lockout/#post-6677359)
 * Status: resolved