Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 0 voices.

Last updated by edwinv-4 22 hours, 23 minutes ago.

Assisted by: Bruno Kos.

Author Posts
July 18, 2025 at 6:46 am #17248739

edwinv-4

Background of the issue:
I am trying to send a 'Reset Password' link to a user from the admin panel in a language other than the main language. The main language of the website is French (FR). When I switch the admin panel to English (EN) and send the reset password link to the user, this issue occurs.

Symptoms:
The email contains a reset link like this: domainname.com/en/wp-login.php?login=...&action=rp&wp_lang=fr_FR, which returns a 404 error. However, if I manually remove the /en from the URL, it redirects correctly.

Questions:
Can you please help me understand how to fix the issue with the reset password link returning a 404 error when sent in a language other than the main language?

July 18, 2025 at 11:10 am #17249800

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

Hello!
WPML has a setting to translate the login, password reset & etc systems links.

You might have the proper server configuration (.htaccess entry or an entry in your nginx.conf) missing.

The issue that you are describing sounds similar to me as the erratum page that we have here: https://wpml.org/errata/woocommerce-my-account-redirect-to-the-wp-login-page-in-a-secondary-language-after-logging-out/ so you might want to check it out if you disable "Allow translating the login and registration page" option in WPML > Settings page or perhaps alter your .htaaccess - normally WPML will add the entries automatically if you go to Settings > Permalinks and press "Save".
If you have Nginx server, you can follow the suggestions at https://wpml.org/faq/nginx-server-settings/ to fix this.

July 18, 2025 at 11:17 am #17249808

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you check this?
https://wpml.org/faq/nginx-server-settings/

I see that you are on NGINX as well. Few of our clients with the same issue got this resolved after adding these rewrite rules to their NGINX settings.

July 18, 2025 at 12:25 pm #17250085

edwinv-4

Thank you!