WordPress.org

Forums

Rename wp-login.php (4 posts)

  1. fabianv
    Member
    Posted 7 years ago #

    Hi folks,

    I was wondering how I'd go about renaming wp-login.php to
    login.php

    A simple rewrite is nice
    RewriteRule ^login.php wp-login.php
    but it doesnt solve my problem since wp-login.php would still be accesible. I need to replace it completely.

    Any help would be great! Thanks in advance

  2. zoinksgraphics
    Member
    Posted 7 years ago #

    Hi fabianv: In case you didn't come up with the answer yet, here's what I did....

    In .htaccess file, I added the following line:
    Redirect /PATH-TO-WORDPRESS/wp-login.php http://www.MYSITE.com/PATH-TO-WORDPRESS/login.php

    Then I renamed the wp-login.php to login.php.

    Seems to work so far... :)

  3. zoinksgraphics
    Member
    Posted 7 years ago #

    Ooops, that didn't work so great... Logins don't work now. Gonna keep checking the forum.

  4. zoinksgraphics
    Member
    Posted 7 years ago #

    Found this thread in the forum. Doesn't do exactly what you were looking for, but redirects plain wp-login.php to a themed version. Plus a few other neat email notification functions!

Topic Closed

This topic has been closed to new replies.

About this Topic