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.
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?
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?
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)
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.
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.
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.