WordPress.org

Ready to get started?Download WordPress

Forums

How to change wp-login.php file to another name (12 posts)

  1. dotafreedom
    Member
    Posted 1 year ago #

    Hello.

    How do I change the name of my wp-login.php page? I am running 000webhost and currently they disabled it and told me to rename it to something else, as well change a line in the code, but I'm not sure which line am I supposed to change.

    Any help is appreciated!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You cannot start editing wp-login.php. There are other ways that you can limit access to the file. See Brute Force Attacks for further details.

  3. dotafreedom
    Member
    Posted 1 year ago #

    "There are other ways that you can limit access to the file."

    Do you mind telling me what are those ways?

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    See the link above.

  5. dotafreedom
    Member
    Posted 1 year ago #

    I have.. but it only says to contact my webhost, but my webhost told me to change the wp-login.php file. I'm confused.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Sounds like you should find a better host - free hosting is not recommended.

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    That's exactly what I suggested in a similar topic: http://wordpress.org/support/topic/cant-login-wp-admin-running-314?replies=4

  8. dotafreedom
    Member
    Posted 1 year ago #

    Is it possible to make a page like this one?

    http://codex.wordpress.org/Customizing_the_Login_Form#Make_a_Custom_Login_Page

    I am getting an error for that code though.

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    No - that's just describing how you can customise the look of the login and embed a login form on your site. It still points back to wp-admin though.

  10. breezotoo
    Member
    Posted 1 year ago #

    This hase become more relevant with the attacks but has been done before

    http://wordpress.org/support/topic/how-to-change-from-wp-loginphp-to-login

  11. Janneke
    Member
    Posted 1 year ago #

    You can change wp-login.php with my plugin Rename wp-login. It won't break anything and it will solve your problem.

  12. breezotoo
    Member
    Posted 1 year ago #

    Awesome - thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic