Skip Navigation

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

Problem:
The client is using Elementor (Pro) with default widgets and is facing an issue where internal links have their titles translated but their href attributes are not updated to the translated page URLs. Instead, they point to the original URL. Some URLs are incorrectly pointing to a page ID instead of the proper URL.

Solution:
We recommend updating WPML and String Translation to the latest versions, as they include a fix for the mentioned problem. Please follow these steps:
1. Create a backup of your website or test on a staging version to avoid disrupting a live site.
2. Navigate to WordPress Dashboard > Plugins > Add New > Commercial (tab).
3. Click the "Check for Updates" button.
4. Update WPML and its addons.
For more information, please visit WPML's automated update documentation.

If this solution does not apply to your case, or if it is outdated, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket in the WPML support forum.

0% of people find this useful.

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 26 replies, has 4 voices.

Last updated by Christopher Amirian 1 year ago.

Assisted by: Christopher Amirian.

Author Posts
September 14, 2023 at 10:09 pm #14399683

victorD-18

Dear support,

We're using Elementor (Pro) and the default Elementor widgets. The internal links have there title translated but do not have there href updated to the accompanying page. Instead they point to the original URL. Some URL's have there href point to a page id instead of the propper URL.

Nearly all links/URLs are configured trough Elementor to use the internal link settings with WordPress for the purpose of being able to be translated automatically.

We've tried the options bellow:
- WPML->Settings->Scanning for modified URL's
- Editing the original page or Elementor template and then updating the translation
- Re-saving permalinks
- Deleting the page/(Elementor)template and re-translating it

We've translated multiple websites running Elementor and WPML, but this is the first time that we're experiencing the problem mentioned above.

We hope that you can help solve the problem.

wpml_internal_url_v2.jpg
September 18, 2023 at 1:09 pm #14412249

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Would you please check and see if the Advanced Translation Editor considers this as an external URL? You can check that by searching the URL:

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

If yes, then would you please see if the same thing happens on the clean installation below?

hidden link

That way we will understand that if it is isolated to your website or not.

Thanks

September 18, 2023 at 1:43 pm #14412675

victorD-18

Hi Christopher,

Thank you for your response. We've checked the Advanced Translation Editor and the URL's are not shown. The only URL's that are shown in the Advanced Translation Editor are the external URL's, which is one. We've attached a screenshot to illustrate what we see.

We've double checked on other pages, with the same result. Only URL's to external websites are shown when we type 'http' or 'www' in the search box on the Advanced Translation Editor screen.

This is the first time that our internal URL's are not translated. We've also double checked the hosting environment WP_MEMORY etc.

external_urls_advanced_editor.jpg
September 20, 2023 at 11:53 am #14429891

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the information. One last thing that I'd appreciate it if you could check is this:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If the problem is still there, I'd appreciate it if you could provide login information for a copy/staging version of your website for further investigation into the matter:

Make sure you set the next reply as private.

Thanks.

September 21, 2023 at 11:48 am #14438211

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the login information. The issue is reported to the second-tier support.

I will inform you as soon as I have an update.

Thanks.

September 21, 2023 at 12:20 pm #14438659

victorD-18

Hi Christopher,

Thank you for the update. We'll await your reply.

September 24, 2023 at 11:31 am #14452311

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

The second-tier support is still working on this to find the possible issue. No success till now.

September 25, 2023 at 11:04 am #14457369

victorD-18

Hi Christopher,

Thank you for your update. We'll await your next reply.

September 26, 2023 at 11:35 am #14466541

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

The issue is replicated by our second-tier support and this is reported to the development team.

So this is officially a bug and you will need to wait for an upcoming release of WPML to have it fixed.

I will inform you as soon as this is fixed in the core code in WPML.

Thanks.

October 18, 2023 at 2:24 pm #14605487

victorD-18

Hi Christopher,

We were wondering if there are any updates regarding the issue. We saw that there's a new WPML update available and have updated WPML + Elementor in our production environment, but unfortunately the problem still persists.

October 21, 2023 at 3:06 pm #14628985

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for following up. This version of WPML does not have a fix for this ticket bug.

The issue is in the development process and we will inform when the compatible version with this bug is released.

Thank you.

October 22, 2023 at 11:36 am #14630607

victorD-18

Hi Christopher,

Thank you for getting back to us. We'll await your next update regarding the issue.

October 22, 2023 at 1:04 pm #14631031

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thank you.

November 29, 2023 at 12:49 pm #14951079

victorD-18

Hi Christopher,

Hope you are doing well. We saw that there's a new update available for WPML (4.6.8). We are wondering if this might resolve our problem. Do you have an update on the issue?

It's been nearly 3 months since we've created our ticket and our client is growing more impatient by the day. We are wondering if you can give a time window when to expect a fix for the problem.

Thank you.

Codeslice

November 30, 2023 at 11:54 am #14961883

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Victor,

Christoper is unavailable today so I'm replying on his behalf.

I'm reaching out with an update on the WPML and Elementor link translation issue you've reported.

I'm afraid that the latest WPML update has not resolved this specific issue. Our team is actively working on a fix, but we don't have a confirmed release date yet.

We understand the impact this has on your work and we thank you for your patience. We are committed to resolving this as fast as possible and will keep you updated.

Thank you for your understanding. Please feel free to reach out with any other concerns.

Best regards,