This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing a 404 error when clicking on the translated version of a page or post, it might be due to a conflict with your custom permalink structure. Specifically, if your structure includes
/index.php/%year%/%monthnum%/%day%/%postname%/
, this could be the root of the issue as WordPress does not fully support such structures.
Solution:
We recommend switching to one of the default permalink options under Settings >> Permalinks, such as "Day and name". After switching, make sure to resave the permalink settings. This adjustment has resolved similar issues in the past and should help in accessing the translated versions of your pages and posts without encountering a 404 error.
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.
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.