[Resolved] Problem resolving internal anchor links in elementor button
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is facing an issue where the anchor part of internal links in a translated template remains untranslated, causing the anchor not to be found. Solution: We recommend manually updating the button link by following these steps: 1. Add the following XML in WPML >> Settings > Custom XML Configuration section:
2. Make a small change in the default language page to reload the translation. 3. Open the translated page and search for the URL and add the translation as needed.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly 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 persists, please open a new support ticket.
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.
Background of the issue:
I am trying to translate a template with a few buttons containing anchor links to other internal pages on my site hidden link. The menu-anchors in these pages are translated. In the translation of this template, the first part of the link to the page is translated correctly, but the anchor itself remains untranslated, so the anchor is not found. In the template, I cannot find any links, even when I search for "https:".
Symptoms:
The anchor part of the internal links in the translated template is not being translated, causing the anchor not to be found.
Questions:
How can I ensure that the anchor links are translated correctly in the template?
Why are the anchors not being translated even though the page links are?
You asked me to make a test with a new German page. I inserted the same button into a new page and translated this page to English the link is translated the same way as before.
Link to Page is translated, but the Menü Anchor is not. hidden link
Thanks for trying it. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.
Thanks for providing the login details. Could you please upgrade my user role to Administrator so that I can access the site dashboard and debug this issue.
Hi Noman, thanks for this update, I can see the button link as well. But I tried this with another page and it did not work. Can you please test this again with this page (under /templates , second page "Digitale Handrefraktometer Vergleich") hidden link.
I tried to change the Page title to Digitale Handrefraktometer-Vergleich, updated and deleted the - again and updated and translated to EN or ES, but I do not find any button link, only the button title.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.