• Resolved RevelationTravis

    (@revelationtravis)


    It would be nice to have an option to redirect “website.com/wp-login.php”, “website.com/wp-admin”, and other similar URL’s to the new login page.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Any URLs that are properly generated to the login page, by using either wp_login_url() or site_url( 'wp-login.php' ) should be rewritten to TML’s Log In page.

    Thread Starter RevelationTravis

    (@revelationtravis)

    Jeff, thank you for taking the time to reply to my feature request. I know you must be busy with this recent major release of Theme My Login and I certainly appreciate your time and efforts.

    I don’t recall how I discovered this (maybe it was from a plugin or maybe I just typed it directly into the address bar), but accessing “website.com/wp-login.php” directly does appear to go to the default WordPress login page. My original post also mentioned “website.com/wp-admin” – and that one does appear to redirect properly, so I should not have put that in my feature request.

    One possible workaround that I’ve found is to use the following code in the htaccess file:
    Redirect 301 /wp-login.php /login
    But I’m not sure if this is really a good idea or the best method? And if it is a good workaround, perhaps that could be built in as a feature? Maybe as a checkbox that says something along the lines of “Disable wp-login.php”?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Hi Travis,

    The Security extension actually contains this option. But, instead of a 301, it gives a 404, thus pretending that wp-login.php doesn’t even exist.

    Thread Starter RevelationTravis

    (@revelationtravis)

    Well, ha! It was there the whole time and I just didn’t see it. Almost hiding in plain sight. Thank you again. God bless!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect from wp-login.php’ is closed to new replies.