It was all ok until I decided to disable the WP Security plugin for the time being to troubleshoot my Thrive Leads issue. My WordPress admin dashboard was locked out and giving a “Redirect lookup” error. The front end was giving problems too but I was able to make my website operational by removing HTTP to https redirection. But this didn’t work for the admin dashboard. If you are having a similar situation then not to worry, here is how you can escape this issue. As usual, don’t forget to take a backup of the existing configuration, which you will be modifying shortly.

Login to your server (if you are on shared hosting then it would be your cPanel) Go to htdocs or root location of your WordPress website Edit wp-config.php You will notice the following two lines where SSL is defined as true

Change that true to false so it should be like below.

That’s all. Try to access your admin dashboard and it should be ok.

Disable SSL if locked out Wordpress with WP Security Plugin - 3Disable SSL if locked out Wordpress with WP Security Plugin - 59Disable SSL if locked out Wordpress with WP Security Plugin - 46Disable SSL if locked out Wordpress with WP Security Plugin - 23Disable SSL if locked out Wordpress with WP Security Plugin - 43Disable SSL if locked out Wordpress with WP Security Plugin - 76Disable SSL if locked out Wordpress with WP Security Plugin - 53Disable SSL if locked out Wordpress with WP Security Plugin - 76Disable SSL if locked out Wordpress with WP Security Plugin - 37Disable SSL if locked out Wordpress with WP Security Plugin - 91Disable SSL if locked out Wordpress with WP Security Plugin - 68Disable SSL if locked out Wordpress with WP Security Plugin - 49Disable SSL if locked out Wordpress with WP Security Plugin - 21Disable SSL if locked out Wordpress with WP Security Plugin - 55Disable SSL if locked out Wordpress with WP Security Plugin - 32Disable SSL if locked out Wordpress with WP Security Plugin - 59Disable SSL if locked out Wordpress with WP Security Plugin - 26Disable SSL if locked out Wordpress with WP Security Plugin - 23Disable SSL if locked out Wordpress with WP Security Plugin - 41Disable SSL if locked out Wordpress with WP Security Plugin - 26Disable SSL if locked out Wordpress with WP Security Plugin - 90Disable SSL if locked out Wordpress with WP Security Plugin - 56Disable SSL if locked out Wordpress with WP Security Plugin - 26Disable SSL if locked out Wordpress with WP Security Plugin - 30