• Resolved reyerm

    (@reyerm)


    I am using PaidMemberships pro membership plugin. Adding a user directly from admin under sends a valid email with a password reset link, but the email is bland so i wanted to use your plugin to improve. It works well, however it is produces incorrect path in the reset link and thus is hitting an error “Your reset password key is invalid.”. It is redirecting to /wp-login (std WP), whereas usually with the PaidMemberships Pro plugin installed it would go to the /login page. If I disable BNFW it works again (but is bland email of course ;))

    I have check with PMP and they believe the “issue” lies within BNFW. Should BNFW be compatible for PMP?

    Any easy fix?
    thanks! Reyer

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter reyerm

    (@reyerm)

    Ok! I think I have made sense of my confusion, as query strings aren’t parsed by Mod_Rewrite. So need to rather use RewriteCond to be specific on the query string.

    RewriteCond %{QUERY_STRING} action=rp(.*)
    RewriteRule ^wp-login.php?(.*) https://app.mydomain.com/$1 [R=301,L]

    thanks again for the help.

    Thanks @reyerm – ours still seems to be working but will modify to the above and continue testing.

    The RewriteRule requires /login/ though correct, in order to point to the login page?

    Thread Starter reyerm

    (@reyerm)

    yes I would have assumed so, but for some reason not needed my side. if it works, then best to stick with login path i imagine, to be explicit.

    Just a heads up, this is causing random errors with members on our membership site still receiving the invalid key notice.

    Going to have to uninstall BNFW as it just doesn’t play nice with Paid Memberships Pro, unfortunately.

    Plugin Author bnfw

    (@voltronik)

    Hi @webedgeaus,
    That’s ok, and I understand. I’d love to add support for more plugins but when they change the login / password reset url, it can be difficult to account for many of them. Not all are coded in a way that would make them compatible.
    I’ll investigate this for PMP in the future though.

    Thanks @voltronik – I’ve spent the last 24 hour son this issue and it appears we may have had a conflict with a recaptcha triggering on our reset password page which has fixed the issue.

    As of today we have the following redirect working – thanks @reyerm for the final solution. We definitely had to explicitly state the /log-in/ in our Rule.

    RewriteCond %{QUERY_STRING} action=rp(.*)
    RewriteRule ^wp-login.php?(.*) https://app.mydomain.com/log-in/$1 [R=301,L]

    Thread Starter reyerm

    (@reyerm)

    Glad to hear you got it working @webedgeaus! Pity about the 24 hours 🙂

    Appreciate your initial help on the redirect. End up being a collaboration… nice!

    Plugin Author bnfw

    (@voltronik)

    Hi @reyerm @webedgeaus,
    So glad you both have it working and thank you for working together.

    I’ll add a page to the BNFW website saying how you can do this with Paid Memberships Pro.

    Tried it, got a 404 :s

    Hi @beware – tried what exactly?

    the above redirect is for BNFW working with Paid Memberships Pro login page. Make sure you have no other login plugins (loginpress, theme my login, etc) installed that may be affecting your redirect.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Password reset link invalid’ is closed to new replies.