Skip Navigation

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

Problem:
The client is experiencing an issue where some internal links in the Bulgarian (BG) version of their website point to the English page, despite the pages being translated.
Solution:
First, ensure that all linked pages are fully translated and published, not saved in draft. If the pages are correctly translated and the issue persists, try the following steps:
1. Edit and save the original page where the links are added, ensuring that the links are in relative format. Then, update the translations of this page.
2. If the problem remains, navigate to WPML > Settings, find the "Translate Link Targets" section, and click on the "Scan Now and adjust links" button to let the process complete.
If these steps do not resolve the issue, 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 still persists, please open a new support ticket for further assistance at WPML support forum.

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 Prosenjit Barman 2 weeks, 4 days ago.

Assisted by: Prosenjit Barman.

Author Posts
November 1, 2024 at 4:33 pm #16355621

simeonN-2

<b>Background of the issue: </b>
I am trying to ensure that links through dynamic tags, such as internal URLs added to a heading or another widget, point to the correct translated page on my site

<b>Symptoms: </b>
In the BG version, some links point to the English page even though the pages are translated.

<b>Questions: </b>
Why do some links in the BG version point to the English page instead of the translated one?

November 4, 2024 at 7:27 am #16358892

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There!
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.

I understand the issue you're having. Typically, internal links should automatically update to reflect the correct language versions, if translations are available. However, I reviewed the BG version of the page you mentioned and found that the internal links, such as those labeled "Научете повече", "Виж всички" are correctly pointed.

If you notice any links not correctly updating in other languages, please verify that the linked pages have been translated and are accessible in the language where you're having the issue. Sometimes, if the translated page is saved in Draft, you may also encounter this kind of issue. So, it is important to make sure that the translated pages are published.

If the pages are translated and published and the issue persists, please try editing and saving the original page with the links, ensure that the links are added in hidden link">relative format then update its translations. Often, updating the translations resolves such issues.

If the problem remains unresolved, you might want to try these additional steps:

- Navigate to WPML > Settings and locate the "Translate Link Targets" area.
- Press the "Scan Now and adjust links" button and allow the process to complete.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

November 5, 2024 at 11:19 am #16365939

simeonN-2

Thank you very much! I have updated the links and now it works.