• Resolved duncan654321

    (@duncan654321)


    Hi,

    Thanks for the help.

    I want people to be redirected to the homepage of my website after they complete the reset password process.

    The reset password email link works fine and so does the reset password form. After that, they’re taken to a login form for the my account page. I have a main log in page, but after they do the reset password link, they’re taken to a login screen on the my account page.

    After, they login here, I want them to go to be redirected to the homepage and not their account page.

    I’ve tried adding a redirect link to the my account shortcode like this:

    [user_registration_my_account redirect_url=”homepage”]

    I use the same shortcode on my main login page and it works, although I had to use the code from this article to make it work - Login redirect didn't work? - User Registration

    I’m thinking that I need an equivalent code snippet for the my account page to make my redirect work. Do you have an equivalent code snippet for the my account page?

    Hopefully, that makes sense and thanks if you can help.

    Duncan
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support sanjuacharya77

    (@sanjuacharya77)

    Hi @duncan654321,

    Thank you for writing in. Could you please add the following shortcode: [user_registration_my_account redirect_url="https://example.com/"]

    In the redirect_url parameter, make sure to insert the full URL of your homepage, and it should work.

    Let us know if it works for you. If not, feel free to get back to us!

    Regards!

    Thread Starter duncan654321

    (@duncan654321)

    Hi Sanju,

    Thanks for the reply. I have the full url in the shortcode, but it doesn’t work for some reason. It’s okay, actually because I found a workaround. Thanks for the reply.

    Duncan

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Redirect from reset password’ is closed to new replies.