This thread is resolved. Here is a description of the problem and solution.
Problem:
After updating to the latest WordPress version, translated product pages are showing a 404 error when accessed via permalinks. The issue arises when translating or modifying translations through the WPML link, resulting in incorrect permalinks for products in alternative languages.
Solution:
If you're experiencing this issue, we recommend following these steps:
1. Create a backup of your website, or ideally, test this on a staging version of your site to avoid disruptions.
2. Navigate to the WordPress Dashboard > Products.
3. Change the language to the secondary one using the top admin bar.
4. Select all the products, then from the top options, select EDIT and click Apply.
5. In the list that appears, change only the STATUS option to PUBLISHED.
6. Click the Update button.
This solution might be irrelevant if it's 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 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.
This topic contains 3 replies, has 2 voices.
Last updated by 6 months, 4 weeks ago.
Assisted by: Christopher Amirian.