This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported two issues on their multilingual website. First, the Recent Comments widget was displaying English comments on a French page, when it should only show French comments. Second, there was a link to an English version of the page that was still in draft and therefore led to a 404 error.
Solution:
We recommended the following steps to address the issues:
1. Navigate to WPML > Languages.
2. Enable the "Auto user Sign in and out for all domains" option under "A different domain per language" and save the change.
3. Resave the permalink structure by going to Settings > Permalinks.
4. Log out from the site.
5. From the login page, switch to the secondary language and log back into the site.
6. From the Widget section, remove the Recent Comment widget and add it again.
7. Save the changes.
These steps resolved both issues for the client.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the problem persists, 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 you still need assistance, please open a new support ticket at our 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.
This topic contains 1 reply, has 2 voices.
Last updated by 1 year, 11 months ago.
Assisted by: Prosenjit Barman.