Skip Navigation

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 6 replies, has 0 voices.

Last updated by Kor 1 day, 12 hours ago.

Assisted by: Kor.

Author Posts
May 22, 2025 at 9:34 am #17060551

michaelR-158

Background of the issue:
I have translated content to French and updated the slugs to include a French translation from the English version. Despite saving and updating the slugs, they have not updated on the live site. The issue can be seen at: hidden link. I expected to see: hidden link as the translated URL.

I have cleared cache both browser and server-side.

Symptoms:
The URL is not live and shows a 404 error. The internal links are not updated either. Instead of the translated URL, the non-translated URL resolves under the /fr/ subdirectory.

Questions:
Why are the translated slugs not updating on the live site?
How can I resolve the 404 error for the translated URL?

May 22, 2025 at 10:05 am #17060683

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your patience. Here is the ticket and 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.

May 22, 2025 at 3:53 pm #17062901

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I've enabled translation for your Page URL settings here hidden link in WPML > Settings > Translated documents options > Page URL > Translate (this will include the slug in the translation and not create it automatically from the title) as shown in the attached screenshot, and it works now hidden link

Screenshot_48.png
May 23, 2025 at 2:54 pm #17067031

michaelR-158

Thanks Kor,

When I was originally using that setting, it did not work.

Any idea on what might have gone wrong? Did I miss anything?

It's good to know for the future as we have another client to get translations for, as well as this client will be having more languages.

Thanks

May 26, 2025 at 12:57 am #17070684

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

When you switch that option, you need to resave the primary language page. Then, the Advanced Translation Editor will rescan the page and shows the URL slug for translation. Could you test this on your other existing pages?

May 27, 2025 at 11:20 am #17077707

michaelR-158

Is it possible to have a step by step please?

I tried what I think you meant and it still hasn't worked on the live site.

Thanks.

May 27, 2025 at 2:10 pm #17079158

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. This is what I've done hidden link . If it's not working on your live site, could you backup and share WP admin access here so that I can check?

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.