Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Themes and plugins can alter the password reset email content. There are a number of ways to do so. To correct the problem you’d need to know which method was used. To narrow down the source of the erroneous URL, switch to a default Twenty* theme and deactivate all plugins. Now when you request a reset you should get the correct URL. Restore your theme and plugins, one at a time, testing after each. When the URL is again incorrect, the last activated module is the cause.

    Unless reading PHP code makes total sense to you, your best option may be to seek assistance from that module’s developers through their dedicated support channel. If you want to try reading PHP, look for a filter hook related to retrieving passwords. Filters can be overridden or removed through some additional custom coding.

    Thread Starter monicaamb12

    (@monicaamb12)

    Thank you for the reply!!!

    I have done what you tell me:

    -Switch to a default theme

    -Desactivate all the plugins, except WooCommerce, the SMTP Plugin and Elementor. I don’t unabled these plugins because I need for check the error.

    The problem persists. This makes me think maybe the problem comes from Elementor?

    Moderator bcworkz

    (@bcworkz)

    I have Elementor (free version, not Pro) on my test site and it does not alter the password reset email in any way. I also have WooCommerce (no active extensions). It does alter the reset email, but not with a link like you’re seeing. I’m unclear why these cannot be deactivated, but in any case AFAICT neither would be responsible for such a reset link, unless it’s due to a Pro version or some extension which I do not have.

    It seems unlikely that a SMTP plugin would have anything to do with password reset. To eliminate it anyway, you could install an email logging plugin so you can see messages even with SMTP disabled.

    If the problem persists despite a default theme and only an email logging plugin active, you may have a must-use plugin active that’s responsible. See if your WP installation has a /wp-content/mu-pluigns/ folder. If it exists and has any .php files in it, they could be responsible. They can be deactivated by renaming the mu-plugins folder.

    If you’ve no must-use plugins or the problem persists with them inactive, then apparently your WP core installation has been corrupted. In this case you should perform a manual update, even it the “update” is to the same version. The point is to refresh all the files from a fresh download. Do actually upload fresh files yourself, do not use the Reinstall version 6.?.? button on the updates admin screen. IME it can be ineffective in doing what we need.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect link when reset password’ is closed to new replies.