Support » Fixing WordPress » Change the login url from the lostpassword e-mail?

  • Hey everyone,

    I’m having a little bit of a problem. When a user requests a new password, the e-mail contains a link to http://yoursite.com/wp-login.php.

    The problem is, that since there is no “?redirect=” on the url, the user is sent to the WP Admin area. I really wanna redirect the user to another page then the admin area.

    Is this even possible? I have searched through the Filter/Action references, and tried to use the “lostpassword_url” filter, but without any luck.

    Anyone have any ideas, solutions or suggestions?

    In advanced, thank you!

    Regards,
    Morten / DuGi

Viewing 1 replies (of 1 total)
  • Hi Morten

    You can specify the page:

    <?php
    $redirect = get_option('home');
    echo wp_lostpassword_url( $redirect ); ?>

    would take someone to home page after the lost password box is complete.

Viewing 1 replies (of 1 total)
  • The topic ‘Change the login url from the lostpassword e-mail?’ is closed to new replies.