Skip Navigation

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

Problem:
In some case the URL of the content looks like:

https://mysite.com/contact/ (original content)
https://mysite.com/es/?page_id=1288 (translation)

Why is that and how to avoid it?

Solution:
This is default WordPress behavior and not WPML related.

The URL parameter "?page_id=1288" means here that the content is still saved as a draft post.

WordPress will replace this parameter with the content's title once the content is getting published.

With WPML by default, this URL slug by default will use the title's translation.

A translation will not get published unless is completed to 100% inside the WPML Translation Editor.

In some cases, it might be that the case that original content still was saved as a Draft when you created the translations.

Relevant Documentation:
Not available

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.

This topic contains 1 reply, has 2 voices.

Last updated by Andreas W. 1 year, 5 months ago.

Assisted by: Andreas W..

Author Posts
October 21, 2023 at 8:56 am #14627911

DS FITNESS SERVICE

Hi I try to understand

EXAMPLE

hidden link ( no default language)

hidden link (default language)

is possible replace ?page_id=1288 with the relative translation ( example :contacto)

if yes , do you can provide Instruction?

Thanks

October 22, 2023 at 1:05 am #14629913

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

This URL slug by default will use the title of the content.

If you translated the page and translated the title "Contact" to "Contacto" then you should receive the expected results, once the translation is completed to 100% inside the WPML Translation Editor.

In some cases, it might be that the case that original content still was saved as a Draft when you created the translations.

Please revise if the Spanish contact page is published and if not, then please publish it an revise if this solved the issue.

Best regards
Andreas

October 23, 2023 at 2:51 pm #14639451

DS FITNESS SERVICE

thankyou!