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?
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.
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.