Skip Navigation

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

Problem:
If you're experiencing a Forbidden error when saving a translation of a custom post type created with Toolset, and this issue only occurs with specific translations, it might be due to a corrupted post ID.
Solution:
We recommend trying the following steps:
1. Navigate to the problematic post in your WordPress dashboard.
2. Use the 'duplicate this' option to create a copy of the post. This action should tag the new post with 'WPML' at the end of its name.
3. Add the translation to the newly duplicated post.
Alternatively, you could delete the original post and assign the new duplicated post to that URL as a workaround.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your 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 problems persist, please open a new support ticket at WPML support forum.

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 2 voices.

Last updated by Bobby 7 months ago.

Assisted by: Bobby.

Author Posts
May 13, 2024 at 1:13 pm

nuriaD

In hidden link, when I save the translation I get a Forbidden error. This is a translation from Catalan. Other English translations work well.

May 13, 2024 at 1:57 pm
May 14, 2024 at 12:33 am #15622741

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

Looks like the specific post ID for the EN translation might be corrupted.

A quick way to resolve this is to do the following:

1. Go to Ubicacio and locate the one with the issue
2. Click on "duplicate this" to make a copy of it ---> see the copy I created tagged with WPML at the end of the name.
3. Add the translation and it should work OK.

Let me know your results, please.

See here the test I created-> hidden link

May 14, 2024 at 2:05 pm #15625799

nuriaD

Hi Bobby,
ok, I see. But to use English translation of this Ubicació, I have to duplicate it and assign to Catalan (original post)? Or delete English post and create it from Catalan?

Thank you!

May 14, 2024 at 8:16 pm #15626988

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Yes, you could do this OR if possible you can delete the original Ubicació page and assign the new duplicated page to that URL as a workaround

Let me know your results, please.

May 21, 2024 at 6:25 am #15647928

nuriaD

OK, I deleted original Ubicació, and then created again the translations. Very strange issue. Now it works, thank you!