This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to hide a translated page that was out of date by setting it to draft. However, the link to the unpublished translation still appeared in the menu and widget language switcher, leading to a 404 error.
Solution:
We explained that for an admin user who is logged in, it is expected to still see language options for drafts. For non-logged-in users, only the "English" language option should be visible. Additionally, the client needs to manually adjust the menu to remove the link from the language switcher, as this is not an issue specific to WPML but a general behavior when unpublishing content.
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 the problem persists, please open a new support ticket at WPML support forum 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.
This topic contains 4 replies, has 1 voice.
Last updated by 1 month, 1 week ago.
Assisted by: Andreas W..