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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 8 replies, has 2 voices.

Last updated by Osama Mersal 5 months, 2 weeks ago.

Assisted by: Osama Mersal.

Author Posts
June 7, 2024 at 11:30 am

lodeD

We have translated a website using WPML from Dutch to English and half of the links are pointing to the Dutch pages.

Eg.: hidden link

I have gone trough all solutions I could find. All themes and plugins are up-to-date, I have resaved the permalinks as described in https://wpml.org/forums/topic/i-am-unable-to-translate-the-links-in-elementor-pro/#:~:text=The%20Internal%20URL%20Element%20in,IDs%20for%20multilingual%20functionality%22%20checkbox. and ± 40 links were updated, but most of them are still pointing to Dutch

June 7, 2024 at 12:15 pm
June 8, 2024 at 10:46 am #15718215

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I checked the issue and found that you use the dynamic URL feature in Elementor. You will see the Dutch URL when editing the English page using Elementor (Kindly check the attached screenshot)

In order to translate these URLs, please check the following approaches:

1- Edit the translated page using Elementor and select the translated page.

2- Edit the default language page using Elementor and change the URLs to add the complete URL, for example, hidden link.

After that, please update the page and its translation.

Best regards,
Osama

2024-06-08_13-43-05.jpg
June 8, 2024 at 1:33 pm #15718316

lodeD

Dear Osama,

If I understood well, I had to change the URLs from dynamic links to fixed links in the original language and then rescan the website and the links should be changed in the English version and pointing to the English pages/posts?

I have tried this with 6 links on the page mentioned above, but even then, the links still point to Dutch website. Could you have another look please?

Kind regards,

Lode

Schermafbeelding 2024-06-08 153318.png
June 8, 2024 at 1:42 pm #15718334

lodeD

Dear Osama,

I have seen that for the changed links, they appear in the strings and once they are translated there, they appear in the EN language. I have changed this for the "Detached houses" by translating the string.
Isn't there an easier way to change this links by adding a kind of script, so all links are automatically recognised and translated?

Kind regards,

Lode

June 9, 2024 at 7:33 am #15718914

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Lode,

Thanks for your update. I updated the page translation. After that, I checked the English changed URLs, which worked correctly. (Kindly check the attached screenshot)

Best regards,
Osama

2024-06-09_10-31-09.jpg
June 9, 2024 at 9:28 am #15719134

lodeD

Dear Osama,

I had to translate the first link using the string translation which cannot be the goal, but without translating it in in string translation (which is de the case for apartment and baby monitor), the link doesn't change.

there should be another solution to it?

Lode

June 9, 2024 at 10:08 am #15719216

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Lode,

I created a test sandbox site. (hidden link)

After that, I created a similar section using Elementor and translated it. (hidden link)

The URLs are added to the image box using the full URL and the dynamic link. Both URLs are translated correctly when translating the page. Please check the translated page and let me know if it works correctly. (hidden link)

Kindly try to replicate the issue on the sandbox site.

Best regards,
Osama

June 11, 2024 at 12:41 pm #15726539

lodeD

Dear Osama,

In the sandbox, it works as expected, but not on my website...

Regards,

Lode

June 11, 2024 at 12:47 pm #15726545

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Lode,

Thanks for your reply. Please check if the issue persists in a minimal environment by following these steps.

1- Deactivate all the plugins except those active ones on the sandbox site.
2- Switch for a moment to a WordPress default theme like Twenty Twenty-one.
3- Create a new test page and use only of the problematic widget.
4- Translate the test page.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

The topic ‘[Closed] Elementor internal links are not pointing to the correct page in the English translation’ is closed to new replies.