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: America/Lima (GMT-05:00)

This topic contains 8 replies, has 2 voices.

Last updated by Andreas W. 6 months, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
May 3, 2024 at 10:07 am #15590709

T4ng

I am trying to: add a link in a blog post

Link to a page where the issue can be seen: hidden link

I expected to see: the link (underline yellow) in the content of the post, as direct link to the page

Instead, I got: the link embedded as p="id"

The post is duly published.
This works great in original language, and /en/ translation. Not in FR.
How comes?

Thanks

May 4, 2024 at 2:48 pm #15593546

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hello,

the source code of your French post does not include such a link. Does this issue only occur on the WPML Translation Editor? Could you please name an exact example and provide a screenshot?

---

The query parameter p="id" is used by WordPress if the content is still saved as a draft.

Please try to update the original content, then save it again and translate it.

---

Also take note, that you are using the WPML Sticky Links Plugin:
https://wpml.org/documentation/getting-started-guide/sticky-links/

This plugin will display links using the query parameter ?page_id="{id}" as in this way the content will always link to the ID of the content and the links will remain working, even if the URL slug of the content changes.

In this case, you could simply translate the ID, but as far I remember this would not even be necessary, as WPML does handle this under the hood.

Best regards
Andreas

May 4, 2024 at 2:55 pm #15593547

T4ng

Sorry, I was wrong. The link I provided is the destination page.
Here is the post where the link to that page appears

hidden link

1wbYqK8Zjm.png
May 4, 2024 at 5:06 pm #15593656

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Did you already try to update the translation?

Go to the original content, make a small edit, then save the content and apply the translation using the WPML Translation Editor. Make sure the translation is completed to 100%.

If this does not solve the issue, please let me know.

May 4, 2024 at 10:59 pm #15593822

T4ng

I can't do that, since I don't use the translation editor in the post where the link appears, nor the page it refers to: both are translated individually.
And their status is completed for the french translations.

May 4, 2024 at 11:17 pm #15593838

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

This means, that when you created the first translation, the content that you were linking to was still saved as a draft.

Open the French content inside the WordPress Editor, edit the link, and save the content.

If this will not solve the issue, please let me know or mark this ticket as resolved.

May 5, 2024 at 8:21 am #15594036

T4ng

I've tied to re-type the link multiple times since the content has been published. It doesn't work.
As soon as the post is saved/"updated", the link changes to this technical format.
I even tried to change the permalink of the content page. It didn't work either.

May 7, 2024 at 2:51 pm #15602788

T4ng

Hi,
Any idea?

May 7, 2024 at 3:01 pm #15602847

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

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

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

If you are unable to provide such a copy of the site for testing, please let me know on this ticket.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

The topic ‘[Closed] Link displays as p= instead of plain address in one specific translated language’ is closed to new replies.