Problem: You are experiencing an issue where sending a 'Reset Password' link from the admin panel in a language other than the main language results in a 404 error. Specifically, when the admin panel is switched to English and the main language is French, the reset link generated (domainname.com/en/wp-login.php?login=...&action=rp&wp_lang=fr_FR) leads to a 404 error unless the '/en' segment is manually removed. Solution: We recommend checking your NGINX server settings. It appears that the issue might be related to how NGINX handles URL rewrites for multilingual setups. Adding specific rewrite rules to your NGINX configuration could resolve this problem. Please refer to our documentation on NGINX server settings for detailed instructions: https://wpml.org/faq/nginx-server-settings/
If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum: https://wpml.org/forums/forum/english-support/