This thread is resolved. Here is a description of the problem and solution.
Problem:
The client experiences a 404 error when trying to open English pages on their multilingual website, although the pages exist in both Turkish and English. The error does not occur when switching from Turkish to English on the same page.
Solution:
After further investigation during a chat with the client, it was observed that there was a lot of custom code added in functions.php file which was causing this irregular behavior. Pages were throwing 404 randomly.
Since custom coding is out of scope of this forum, we advised the client to remove all the code and check piece by piece while keeping an eye on the issue.
If this solution does not resolve the 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 the problem persists, please open a new support ticket 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 0 replies, has 0 voices.
Last updated by 2 weeks ago.
Assisted by: Waqas Bin Hasan.