• Hello Jeff, there is an unwanted redirect on my site:

    /resetpass redirects to https://mystery-solvers.com/lostpassword/?error=invalidkey

    I have all added all TML urls as exceptions in the caching plugin

    Troubleshooting is not easy, since not all paid software can also be used on a staging site and I can’t turn off plugins on the live site.

    Do you have any idea what could be causing this so I know in what direction to go? I very limited technical knowledge, but I hope to find the cause.

    thanks for any pointers and for the plugin!
    Elisabeth

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter EigenWijsheid

    (@eigenwijsheid)

    PS: I use:

    Litespeed plugin
    Theme my login
    Wordfence

    Disabling these doesn’t make a difference. I tried clearing all caches everywhere.
    My host says there is no server-side caching.

    Thread Starter EigenWijsheid

    (@eigenwijsheid)

    Solution found:

    Redirect and login issues can also be triggered by endpoint conflicts. WooCommerce’s Lost Password endpoint can interfere with front-end login/reset flows. If WooCommerce is installed, go to WooCommerce → Settings → Advanced → Page setup and clear the value in Account endpoints → Lost password, then save and test again.

    This seemed to have solved the unwanted redirect issue for password resets!

    Thread Starter EigenWijsheid

    (@eigenwijsheid)

    Well, that solution lasted 5 very nice days, now the redirect is back.

    I don’t know where to look for the cause of the isse if it’s not in litespeed caching, wordfence or cleantalk anti-spam. I have diabled all those, cleared the cache, but thr issue persist.

    Any help or ideas would be much appreciated!

    • This reply was modified 3 months, 3 weeks ago by EigenWijsheid.
    Plugin Author Jeff Farthing

    (@jfarthing84)

    If you’re comfortable with editing files, I’d suggest editing theme-my-login/includes/actions.php, adding print_r($_COOKIE); exit; on line 697 and then testing the process. Paste your result here.

    Thread Starter EigenWijsheid

    (@eigenwijsheid)

    Hello Jeff, your mail had vanished into the spam folder for some reason, so I didn’t see it until yesterday.

    I added the code to line 697: https://imgur.com/a/4ZOWEKr
    Asked for a password reset from the login screen

    Received this link: https://ww.wp.xz.cn/support/topic/resetpass-unwanted-redirect-to-https-mystery-solvers-com-lostpassword-error/#post-18824804

    Clicking on it brings me to this url: https://mystery-solvers.com/nl/resetpass/?wp_lang=en_GB
    with this on the page:


    Matrix ( [wp-resetpass-beb11f4e59cc1b51bfeb90124e70e1bf] => Elisabeth:Pbc3c65kgORvnBJx4ves [wordpress_test_cookie] => WP cookiecontrole )

    I tried again from an icognito window. The result was :
    Array ( [wp-resetpass-beb11f4e59cc1b51bfeb90124e70e1bf] => Elisabeth:OKgvGO3YclNI0R6RJDbg [wordpress_test_cookie] => WP Cookie check )

    I am removing the line again from theme-my-login/includes/actions.php

    I hope you can adjust the code, thanks

    Elisabeth

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Can you edit your post? You posted the wrong link (by posting a link to this thread).

    Thread Starter EigenWijsheid

    (@eigenwijsheid)

    Sorry Jeff, I can’t edit the post anymore.

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

You must be logged in to reply to this topic.