• Resolved amandak8

    (@amandak8)


    Hi!

    I was wondering if it’s possible to change the URL used by [password_url]. I would like it to change from:

    /wp-login.php?action=rp&key=pdKhgRlY58wcUSL6KMHe&login=amandatest2

    to

    /login/?action=rp&key=pdKhgRlY58wcUSL6KMHe&login=amandatest2

    So, I’d like to to use my custom login page instead of the default WordPress one. Is this possible?

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @amandak8,
    Thanks for your message.

    You may be able to handle this using a redirect on your site.
    If not, I’m looking at how I can make the password reset url more friendly towards headless versions of WordPress where this URL is quite different. This may help in this instance too.

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

    Hi bnfw,

    I have the same issue! Have you already a solution for that?
    Would be really great if you can give helpful tips!

    Best,
    Richard

    Plugin Author bnfw

    (@voltronik)

    Hi @datenwunder,
    No update as yet but this functionality will be coming soon. No timeframe as yet though.

    brilliant.. now I did a workaround with following entry in the function.php

    if($_GET[‘action’]===’rp’ && strpos($_SERVER[‘REQUEST_URI’],’wp-login.php’)) {
    $key = isset( $_GET[‘key’] ) ? $_GET[‘key’] : ”;
    $login = isset( $_GET[‘login’] ) ? $_GET[‘login’] : ”;
    wp_redirect( site_url( ‘/login/?action=rp’ ) . ‘&key=’ . $key . ‘&login=’ . $login );
    exit;
    }

    Plugin Author bnfw

    (@voltronik)

    Hi @datenwunder,
    Great! Glad you found a solution.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Possible to change URL generated by [password_url]?’ is closed to new replies.