Skip to content Skip to sidebar

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

Problem:
You are trying to create a link from one page to another on your WordPress site. Although the link is correctly saved in the content, it displays incorrectly as /?page_id=4810 on the front-end, leading to a 404 error. This issue occurs even though WordPress Permalinks are set to Post Title, and it's happening in the primary language (Dutch) without using the Sticky Links addon.
Solution:
We recommend temporarily disabling the WPML plugins to verify if the issue is related to them, as WPML plugins do not typically alter the content in the original language. If possible, create a staging site to test this without affecting your live site. If the issue persists even after disabling the WPML plugins, it suggests that the problem might not be related to WPML.

If this solution does not resolve your issue or seems outdated, please check our known issues page and confirm that you have the latest versions of themes and plugins installed. If needed, do not hesitate to open a new support ticket with us for further assistance.

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 3 replies, has 1 voice.

Last updated by Carlos Rojas 1 year ago.

Assisted by: Carlos Rojas.

Author Posts
March 27, 2025 at 11:03 am #16867793

Jamie

Background of the issue:
I am trying to create a link from one page (hidden link) to another page (hidden link). The link is saved in the content as hidden link, but when I load the front-end it is showing as /?page_id=4810. Both pages are published, they are in the Primary Language (Dutch). WordPress Permalinks are set to Post Title. I am not using the Sticky Links addon which I know can give this result.

Symptoms:
The link is displaying as /?page_id=4810 on the front-end, which goes to a 404 error.

Questions:
Why is the link displaying as /?page_id=4810 instead of the correct URL?
How can I ensure the link displays as hidden link on the front-end?

March 28, 2025 at 7:56 am #16871311

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Since you mentioned this happens on the default language, I would advise checking with WPML plugins disabled, to confirm if this is even related to WPML plugins.

Let us know how it goes.

Regards,
Drazen

April 8, 2025 at 8:20 am #16907378

Jamie

I haven't heard from your colleague yet?
I'm afraid I cannot disable WPML plugins since this is on a production environment, and there is no staging available.

April 8, 2025 at 9:50 am #16908178

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
My name is Carlos, and I will continue working on this ticket.

My colleague Drazen asked to check if the issue persists with the WPML plugins disabled, because the WPML plugins don't modify the content in the original language, therefore it is likely that this issue is not caused by WPML plugins.

Please create a staging site or disable the WPML plugins for a moment and double-check if the issue persists.

Regards,
Carlos