Skip to content Skip to sidebar

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

Problem:
If you're experiencing a 404 error when trying to view the Welsh version of a custom post on your WordPress site, despite other pages working fine, the issue might be with the translation status of the post.
Solution:
We recommend the following steps to resolve this issue:
1. Edit the original English version of the post.
2. Make a slight change to the title, update the post, and then revert the change. This action is necessary to trigger a new translation job.
3. Open the translation editor and ensure that the translation is completed.
After these steps, the Welsh version of the post should display correctly.

Please note that this solution might be outdated or not applicable to your specific case. 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 the problem persists, 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 12 replies, has 0 voices.

Last updated by Andrey 3 months, 2 weeks ago.

Assisted by: Andrey.

Author Posts
September 9, 2025 at 5:44 pm #17388433

jonathanH-21

Background of the issue:
I am trying to view the Welsh version of a custom post on my WordPress site. The English version of the post can be seen here: hidden link. I have already cleared the cache and reset permalinks.

Symptoms:
When I click the Cymraeg link in the top right to view the Welsh version of the post, I get a 404 error. Other pages on the site are working fine.

Questions:
Why am I getting a 404 error when trying to view the Welsh version of a custom post?
What steps can I take to resolve the 404 error for the Welsh custom post?

September 9, 2025 at 6:30 pm #17388527

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

I believe the translated page may still be in Draft mode.

Please follow these steps:
1. Go to Pages → All Pages.
2. Switch to the secondary language.
3. Edit the translated page using the WordPress editor.
4. Click the Publish button.

Let me know if this resolves the problem.

September 10, 2025 at 9:56 am #17389991

jonathanH-21

Hi.

Thanks for the reply.

I can confirm both posts are Published and linked together.

This is another example:

English
hidden link

Welsh
hidden link

Thanks
Jon

wpml-1.png
September 10, 2025 at 9:57 am #17390008

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback, Jon.

I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

September 10, 2025 at 10:07 am #17390046

jonathanH-21

OK, does it have to be a staging site? Is so i will have to set one up first

September 10, 2025 at 10:14 am #17390055

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

You can provide access to the live site, but make sure that you do a full backup first. If you prefer the staging site, then please set up a staging site. The following reply is private.

September 10, 2025 at 10:41 am #17390113

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Thank you for providing access.

I noticed that the translation for your page was not completed, so I did the following steps:
1. Edited the original page.
2. Made a slight change to the title, updated the page, and then reverted the change (this needs to trigger a new translation job).
3. Opened the translation editor and completed the translation.

As a result, the page is now displaying correctly:
hidden link

September 10, 2025 at 10:50 am #17390162

jonathanH-21

HI.

Ok thanks.

What could have caused this? My client was translating the posts themselves.

Does this need to be done manually for all resource posts to get them to show?

September 10, 2025 at 11:33 am #17390373

jonathanH-21

Hi

Should i complete this section (see image) ?

wpml-2.png
September 10, 2025 at 12:18 pm #17390560

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

What could have caused this? My client was translating the posts themselves.

I suspect he didn't save the changes in the translation editor.

Does this need to be done manually for all resource posts to get them to show?

Yes, if they are not appearing on the frontend, he needs to complete the translation. Afterwards, the pencil icon should show up.

Should i complete this section (see image) ?

If those cages are translated, then there's no need. It's better to translate them in WPML → Taxonomy translation.

September 10, 2025 at 1:55 pm #17391124

jonathanH-21

OK thanks. I will ask my client to go through this process.

Thanks for your help

September 10, 2025 at 4:32 pm #17391761

jonathanH-21

I waiting to hear from my client to see if the issue is resolved for them

September 11, 2025 at 11:14 am #17394009

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Sure, thank you for the update. I hope that the process goes well for the client.

Have a nice week.