Using WordPress HTTPS and the Rename wp-login.php plugin may have you going in circles when trying to log in. This happened to me, but there was an easy solution. First, the error is caused when WP HTTPS is configured with BOTH Force SSL Administration AND Force SSL Exclusively options are selected.

Why does this happen?

The Rename wp-login plugin creates a non-existent page that you load to display the WP login form. Since you cannot edit this page, you cannot force it to SSL by selecting that option in the WP editor. When you log in, it triggers a security warning from WordPress that your login information is unencrypted. The two most commonly used WP HTTPS options in play are suddenly in conflict: You cannot force the renamed login page to SSL and you cannot login without doing so.

How can you fix  the problem?

First, you’ll probably be locked out when you discover the problem.  Therefore, you’ll need to deactivate the Rename wp-login.php plugin by TEMPORARILY moving the plugin files out of the plugin folder in CPanel OR by deactivating it manually in the WordPress database using PHPMyAdmin.

I used the database method because it’s faster, but I wouldn’t advise doing so unless you know your way around MySQL WP databases. To use this method, open PHYMyAdmin and select the wp_options table. Then enter the following SQL query:

SELECT * FROM 'wp_options' WHERE 'option_name' = 'active_plugins';

Edit the ‘option_value’ to decrement the number of options by 1 and delete the option for Rename wp-login.php:


In the above example, I would change “18” to “17” and delete the text string shown in red.

Now you can log in using the regular WordPress wp-login.php page. After logging in, activate and edit WordPress HTTPS plugin options to prevent a recurrence of the problem.

Forcing SSL Administration is a good thing, so leave it selected, but we need to tell the WP-HTTPS plugin to always make the renamed login page secure. To do that, scroll down to the option, URL Filters / Secure Filters and type the name of your renamed login page in the box. If you are using Permalinks that display the post name followed by a forward slash, you would enter /login/, replacing “login” with your custom page name. The first forward slash indicates your web’s root folder.

If you’re not sure about the URL you’re using for Rename wp-login.php, open Permalinks in wp-admin and scroll down to see it underneath your regular Permalink settings.

As you can see, it’s possible to Force SSL Administration and Force SSL Exclusively using the following WordPress HTTPS plugin settings:


Force SSL Administration


URL Filters / Secure Filters