WordPress.org

Ready to get started?Download WordPress

Forums

Hide or redirect wp-login.php (1 post)

  1. suntower
    Member
    Posted 1 year ago #

    Hi,

    Is there a way to prevent visitors, whether logged in or not, from reaching mysite.com/wp-login.php ?

    I have a separate login form that is all we need. I know I can re-style the form generated by wp-login but I'd rather not have to deal with it at all. I've tried various filters and hooks and I can't seem to get it to redirect. I also tried using a .htaccess redirect and I found that this works, but then it prevents my custom login/logout form from working.

    Ideas?

    TIA,

    ---JC

Topic Closed

This topic has been closed to new replies.

About this Topic