Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @nocodeadam,

    Thanks for reaching out! That behavior usually happens if the theme or a plugin is interfering with the default WooCommerce password reset flow.

    To fix this, try temporarily switching to a default theme like Storefront and deactivating all other plugins except WooCommerce. Then test the password reset link again. If it works correctly, you can reactivate your theme and plugins one by one to identify the source of the conflict.

    Let us know what you find!

    Thread Starter nocodeadam

    (@nocodeadam)

    Thank you for prompt response.

    As per suggestion, I disabled all plug ins; including elementor. changed the theme from “go” to “astra”. I even disabled and then re-enabled “woocommerce” again.

    The issue still remains.

    Please let me know.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for getting back to us with further details on this.

    As a next step, please navigate to WooCommerce → Settings → Advanced → Page setup and make sure that the Account endpoints section looks the same as the example below:

    In particular, please can you check that the Lost password endpoint is set correctly? Can you also please share a screenshot of this section with us here? If you do not already have a screenshot tool installed, Snipboard.io can be used for easily sharing screenshots.

    If you have the same endpoint for testing purposes, could you please delete the endpoint value and leave the field blank to see if that works for you? I can see that another user faced the same issue, but that solution worked for them. Here’s the link for reference. https://wordpress.org/support/topic/lost-password-email-link-redirects-to-lost-password-page/#post-16534134

    Thread Starter nocodeadam

    (@nocodeadam)

    Deleting the “lost-password” endpoint and leaving it blank, solved the problem.

    I do appreciate your help!

    Hi @nocodeadam,

    I’m glad to hear the issue was resolved, but it seems like a temporary fix. If the user tries to reset their password, they won’t be able to because the URL to that page has been deleted. Could you test it to confirm if the reset functionality is still working?

    Thread Starter nocodeadam

    (@nocodeadam)

    Hello @mosesmedh ,

    Thank you for reminding me to run QA testing, I really appreciate!.

    I just tested, and seems like this worked for me at the moment.

    I will reach out again if the issue reappears.

    Regards,

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    You’re very welcome — I’m glad to hear the testing went well! 🎉

    Just to clarify: by removing the “lost-password” endpoint in WooCommerce, when someone clicks on “Lost your password?”, it will now take them to the default WordPress lost password page instead of the WooCommerce lost password page.
    However, both pages work perfectly fine for resetting passwords, so there’s no issue with functionality.

    If you’re happy with how it’s working now, there’s no need to make any further changes — it will continue to work smoothly. 👍

    Also, if you have a moment, we’d truly appreciate it if you could leave a review for WooCommerce here:
    https://wordpress.org/support/plugin/woocommerce/reviews/
    Your feedback helps us a lot!

    Thanks again for your kind words and support!

    Thread Starter nocodeadam

    (@nocodeadam)

    Hello @shahzeenfarooq , @mosesmedh ,

    Actually deleting the “lost-password” endpoint fixed “reset password” however, it created another issue with the link sent “new account ” email. Link pointed to “page not found”. I addressed the issue with chatgpt, and provided solution worked. I am going to add it here, so that others can benefit.

    Make the changes on “customer-new-account.php ” (wp-content/plugins/woocommerce/templates/emails/customer-new-account.php) –>

    ——————————————————————

    //ORIGINAL

    if ( ‘yes’ === get_option( ‘woocommerce_registration_generate_password’ )

    && $password_generated

    && $set_password_url ) : ?>

    //REPLACED WITH

    if ( ‘yes’ === get_option( ‘woocommerce_registration_generate_password’ )
    && $password_generated ) : ?>

    ——————————————————————

    Flush your permalinks

    After you’ve updated the template:

    1. In WP Admin go to Settings → Permalinks
    2. Click Save Changes (no edits needed)
    3. make sure that “Lost Password ” endpoint is also restored to “lost-password”

    I hope this helps.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you so much for taking the time to share the solution that worked for you—this is incredibly helpful and will surely benefit others facing a similar issue. We really appreciate users like you who contribute back to the community!

    It’s great to hear that everything is now working as expected. If you ever run into anything else, feel free to reach out—we’re here to help.

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

The topic ‘Password reset email link loops to the Login/Lost Password page again’ is closed to new replies.