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

Last updated by Kor 2 weeks, 4 days ago.

Assisted by: Kor.

Author Posts
December 23, 2024 at 12:53 pm #16540351

lindaB-20

Background of the issue:
I am trying to ensure that all internal links on my site are directed to the correct translations rather than defaulting to the main language.

Symptoms:
All internal links are not directed to the right translations, but to the main language.

Questions:
Is there a solution for the issue of internal links not directing to the correct translations?

December 24, 2024 at 7:18 am #16542656

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There!
Thanks for contacting WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

I understand the issue you're having. Typically, internal links should automatically update to reflect the correct language versions, if translations are available. 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.

For links added with an anchor tag (`<a>`), please refer to the steps outlined in the guide below to learn the process of translating such links correctly.

- https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

I hope the information above will help to solve the issue. Feel free to let us know if you need further assistance in this matter. We'll be happy to help.

Best regards,
Prosenjit

December 24, 2024 at 9:32 am #16543135

lindaB-20

Hello,

Thanks for the tips. I have tried all of these but without success. I have forwarded the debug information.

December 24, 2024 at 12:53 pm #16543784

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

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.

The topic ‘[Closed] Internal links not translated right’ is closed to new replies.