Skip Navigation

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

Problem:
You are trying to prevent WPML from auto-translating specific links on translated pages, aiming to use English links on German pages. Despite following the provided documentation, the links still auto-translate to the targeted page translation instead of pointing to the original English page.
Solution:
In WPML -> Settings, you can adjust the page slug setting from "Auto generate from the title" to "Copy." This setting is mainly for languages with encoded URLs. Alternatively, you can use the "Translate" setting within the translation editor to manually set the slug, allowing you to point links to the original language page as needed. For further customizations beyond these settings, additional development might be necessary, which is outside our support scope.

If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 1 reply, has 2 voices.

Last updated by Marcel 3 weeks, 4 days ago.

Assisted by: Marcel.

Author Posts
November 1, 2024 at 5:06 pm #16355658

davidP-133

Background of the issue:
I am trying to manually skip the auto-translation of original language links on translated pages using WPML. Specifically, I want to use English links that point to English pages on German pages. I followed the documentation provided at https://wpml.org/forums/topic/manually-skip-links-for-translation/ but it is not working for me.

Symptoms:
The link on the German page hidden link is auto-translating the href attribute to the targeted page translation, which is /de/gemeinwohl, instead of pointing to the English page hidden link.

Questions:
How can I prevent WPML from auto-translating specific links on translated pages?
Is there a way to manually set links to point to the original language page in WPML?

November 4, 2024 at 3:38 pm #16361935

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

In WPML -> Settings, there's an option to adjust the page slug from "Auto generate from the title" (default) to "Copy." However, this setting is primarily designed for languages that use encoded URLs.

Another option is to use the "Translate" setting. This allows you to edit the slug directly within the translation editor, making it easy to overwrite as needed.

For any other customizations, additional development would be required, which falls outside the scope of our support.

Best regards,
Marcel