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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 2 replies, has 1 voice.

Last updated by Kor 3 months, 1 week ago.

Assisted by: Kor.

Author Posts
April 16, 2025 at 7:34 am #16937077

loicA-2

<b>Background of the issue: </b>
We have issue with links containing /en/ /de/ /fr/ returning 404

When ever you do a language switch it goes to 404 page. We have tested nginx confiugration as well as htaccess but the issue is not there. Moreover, we tried following:
1) Please go to WPML > Support > Troubleshooting page, then click the following:
- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations

But we did not have any success. Homepage is translated properly. We have
Different languages in directories ( (hidden link - Deutsch, hidden link - Englisch) )

April 17, 2025 at 8:35 am #16942757

loicA-2

With use of permalink save while set all languages on langauge changer in wp-admin the /en/ started working. However, the /fr/ one still does not work. So when you go to hidden link you get 404 even tho the page is translated on FR.

April 18, 2025 at 11:11 am #16947054

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

The topic ‘[Closed] We have an issue with links containing /en/ /de/ /fr/ returning 404’ is closed to new replies.