Skip Navigation

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

Problem:
The client is unable to edit the URL of a hyperlink when the entire line of text in a cell is the link text, as experienced while translating a blog post using WPML.
Solution:
We recommend modifying the HTML structure of the hyperlink.
This change should allow WPML to recognize and provide the option to edit the URL in the translation editor.

If this solution does not apply to your case, or if it seems outdated, 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 issues persist, 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.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by metroW 2 days, 6 hours ago.

Assisted by: Andreas W..

Author Posts
April 10, 2025 at 12:06 am #16916244

metroW

Background of the issue:
I am trying to translate a blog post using WPML on my site hidden link.

In the attached screenshot, a line (highlighted in blue) reads, "Apply to TAC by May 12". In the English version of the blog post, "Apply to TAC by May 12th" links to an external page in English, however, we would like to take the user to a different URL from the Simplified Chinese version of the blog post.

Symptoms:
I am unable to edit the URL when the entire line of text in a cell is the link text.

Questions:
Is there a way to edit the URL when the entire line in the cell is the link text?

April 10, 2025 at 6:42 am #16916692

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Could you please use the text search field on the top right inside the translation editor and search for "http".

Do you find the external link this way?

If you can not find the link please provide more details about how the link is added on the original content.

It would also be very helpful if you could provide us with WPML debugging information.
More information here:
https://wpml.org/faq/provide-debug-information-faster-support/

Best regards
Andreas

April 10, 2025 at 5:56 pm #16920172

metroW

Hi Andreas,

I have submitted our debug information.

The link was added to the original content with the following HTML code:

hidden link" target="_blank" rel="noopener">Apply to TAC by May 12.

As indicated in the attachment, there's no option to update the URL when we apply the translation. This only occurs when the linked text is the only text contained in a cell. Please see the attached image for reference.

Thanks,
Adrian

Screenshot - recruitment - 2025-04-09 at 11.07.54 AM-02.png
April 10, 2025 at 6:15 pm #16920228

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.

Best regards,
Andreas

April 10, 2025 at 6:30 pm #16920280

metroW

Hi Dario,

We found a workaround for now. We went ahead and added a few words to the CTA and only used a portion of the text as the hyperlink.

Instead of using this as the hyperlink:
hidden link" target="_blank" rel="noopener nofollow" tabindex="86">Apply to TAC by May 12.

We used:
hidden link" target="_blank" rel="noopener nofollow" tabindex="86">Apply to TAC by May 12.

Simply removing "by may 12." from within the <a> tag, triggers the option to update the URL in WPML.

Our problem is solved for now, however, we may circle around later if the need arises.

Thanks,
Adrian