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.

This topic contains 1 reply, has 0 voices.

Last updated by lordG 4 weeks, 1 day ago.

Author Posts
April 15, 2025 at 10:55 am #16933376

lordG

Background of the issue:
I am experiencing an issue with WPML regarding button links after translating pages. After translating the homepage, the button link on the translated version points to a page ID instead of using the correct permalink. The issue can be seen on this page: hidden link. I expected the links to be: hidden link, hidden link, hidden link, hidden link.

Symptoms:
Instead of the expected permalinks, I got: hidden link, hidden link, hidden link, hidden link.

Questions:
Could you please assist with correcting the button links after translation?

April 15, 2025 at 12:29 pm #16933991

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I’ve reviewed the URLs you provided and noticed that the translated links are displaying as ?page_id=23901 instead of using the expected permalinks like /zh-hans/stay/. This usually indicates that the translated pages haven't been published yet — when a translation is still in draft, WordPress defaults to showing the page ID in the URL.

Here’s how you can fix this:

Publish the Translations:
Go to the Pages section in your dashboard, switch to the translated language (e.g., zh-hans), and check if the relevant pages (like “Stay”) are still drafts.
If so, use Quick Edit to change their status to Published.

Resave the Original Page:
After publishing the translations, open the original version of the page that contains these button links, click Update to resave it, and then update the translated version as well.

This helps WPML refresh and correctly link to the translated pages.

Does it help?

April 16, 2025 at 3:02 am #16936495

lordG

Many thanks for your help.