• Resolved MikkelCrunch

    (@mikkelcrunch)


    Hi,

    we use this message in Mail to redirect the user, after he puts in his credentials in the registration form:

    Vielen Dank für deine Registrierung – um deinen Zugang zu aktivieren, klicke bitte [password_url].

    So it worked for years, but suddenly, this shortcode leads to a 404 Error.

    We have a plugin active, to make the login URL custom.

    So instead of “wp-login.php?action=” it should be “our-custom-login?action=” with the token and all what is necessary. So how can we put in a custom login link?

    Thanks in advance for your answer.

    Best regards
    Mikkel

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

    (@voltronik)

    Hi @mikkelcrunch,
    Thanks for your message.

    There have been a couple of other forum posts about this in the past. This thread may point you in the right direction: https://www.ads-software.com/support/topic/password-url-shortcode-not-working/

    Let me know if this helps.

    Thread Starter MikkelCrunch

    (@mikkelcrunch)

    Ah ok thank you very much. I thought this is too specific to ask – so I did not search for it ??

    So am I right, that I have to edit the .htaccess file with a rewrite rule?

    Like so:

    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^action=rp&key=([^&]+)&login=([^&]+)$
    RewriteRule ^wp-login.php$ /pass-reset/?somresetpass=true&somfrp_action=rp&key=%1&login=%2 [R=302,L]

    Would this work?

    Thanks in advance for your answer.
    Best, Mikkel

    Plugin Author bnfw

    (@voltronik)

    Hi @mikkelcrunch,
    No problem.

    You may need to change some valuees in your re-write rule to account for your specific circumstance and then test but yes, as far as I know, providing you’re using an Apache web server (or front-end) then this should be the way to go about it. You may need a developer to help with this if you run into difficulty though.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error 404 after click on “password link” in Email on User Registration’ is closed to new replies.