Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The translations of all new pages have a common bug: the URL is not translated and is replaced by the page ID

Solution:
Those pages were created with the plugin "Yoast Duplicate Post" which creates the page clones as drafts, so this is expected.

Please try the following steps to publish the translations:

1. Edit the original page
2. Switch to the secondary language from the top admin bar
3. You'll see a warning message about editing a translated page, click "Edit anyway"
4. Click "Publish"
5. Repeat the steps for each language

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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 7 months ago.

Assisted by: Mohamed Sayed.

Author Posts
December 4, 2023 at 7:13 am #14982337

summerw

Great, the problem of contact us page is solved.
But the translation of all new pages have a common bug: the url is not translated and is replaced by a id=XXX, like this one:
Original: hidden link
Chinese: hidden link
Deutsch: hidden link
Korean: hidden link

December 4, 2023 at 7:59 am #14982615

Mohamed Sayed

Hi,

I found that those translations were created as drafts, this is why the URL shows the page ID instead of the translated slug.

Publishing the drafts fixed this issue and you can see the translated slug now:
- hidden link
- hidden link

Probably the translations were created while the original page was still a draft. I changed the settings in WPML > Settings > Translated documents options.

Please create a new page for testing, publish it then create the translation and check if the issue is resolved.

Kind regards,
Mohamed

Screenshot_366.png
December 4, 2023 at 9:11 am #14983583

summerw

How to publish? Like this one, I have done all the translations, but still page ID
hidden link

December 4, 2023 at 9:19 am #14983607

summerw

I use the yoast duplicate to build these pages, is that the reason?

December 4, 2023 at 11:44 am #14986097

Mohamed Sayed

The plugin "Yoast Duplicate Post" creates the page clones as drafts, so this is expected.

Please try the following steps to publish the translations:

1. Edit the original page
2. Switch to the secondary language from the top admin bar
3. You'll see a warning message about editing a translated page, click "Edit anyway"
4. Click "Publish"
5. Repeat the steps for each language

Screenshot_367.png
Screenshot_368.png
Screenshot_369.png
December 5, 2023 at 2:06 am #14992277

summerw

Worked, Great job!