WordPress - Troubleshooting - I see a page not found (404 error) when changing language
In this article, you'll learn how to solve a 404 error when trying to translate your website.
Should you encounter an Error 404 - Page not found
when switching languages, this is most likely linked to your permalink settings.
To remedy this, please follow the instructions below:
1. Go to your WordPress administration > Settings > Permalinks.
2. Make sure you do not select the plain
option and that your URLs do not contain /index.php
.
3. Save changes.
4. Refresh your page - it should now display correctly.
If the error persists, please check whether the mod_rewrite
module is enabled on your website. You can request your hosting provider to enable it. If you're managing your own server, you can follow the steps described in this Stack Overflow documentation: https://stackoverflow.com/questions/869092/how-to-enable-mod-rewrite-for-apache-2-2.