This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing intermittent issues with WooCommerce product URLs when using WPML. Specifically, product URLs in a secondary language occasionally use the category slug from the default language, leading to mixed-language URLs and causing infinite redirect loops and a 'too many redirects' error in the browser.
Solution:
1. Update WCML: Ensure you are using WooCommerce Multilingual & Multicurrency version 5.5.5 or later, as this issue was addressed in version 5.5.3.
2. Check translation settings: Temporarily disable the 'Translatable – use translation if available or fallback to the default language' setting and conduct tests to see if the issue persists.
3. Apply workaround: If the problem continues, consider implementing the code workaround provided on the errata page.
Please note that this solution might be irrelevant if it's outdated or not applicable to your specific 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 issue persists, 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.