This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing conflicts between hreflang attributes and rel="canonical" tags on their multilingual website using WPML and Yoast SEO. The canonical URLs for translated taxonomy terms incorrectly point to the Polish version instead of maintaining language-specific URLs.
Solution:
We recommend updating WPML and all related add-ons to the latest versions to ensure compatibility and functionality improvements. You can update WPML by following the instructions here: https://wpml.org/faq/install-wpml/.
Additionally, installing the WPML SEO glue plugin is essential for full compatibility with Yoast SEO. This plugin helps in correctly generating hreflang tags and canonical URLs for each language. Installation and activation are straightforward, with no additional settings required. More information on this plugin can be found here: https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/.
Before making any changes, ensure to back up your website and database.
If this solution does not apply to your case, or if it seems outdated, 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 issues persist, 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.