Home›Support›English Support›[Resolved] Canonical of secundary WooCommerce category shows canonical of primary
[Resolved] Canonical of secundary WooCommerce category shows canonical of primary
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with incorrect canonical URLs for secondary WooCommerce categories in a multilingual setup, you might find that the canonical URL does not point to the intended language version of the category. Solution: We recommend enabling the option
Adjust IDs for multilingual functionality
found under WPML -> Languages -> Make themes work multilingual. This adjustment has proven effective in ensuring that the canonical URLs correctly reflect the language-specific category pages.
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. Should these steps not resolve your issue, please do not hesitate to open a new support ticket at WPML support forum 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.
Background of the issue:
I am trying to fix the canonical URL for a secondary WooCommerce category on my site hidden link. The correct canonical is filled in the SEO section of the category.
Symptoms:
The canonical URL for hidden link is showing incorrectly as .
Questions:
How can I fix the incorrect canonical URL for the secondary WooCommerce category?
You wrote: "The canonical URL for hidden link is showing incorrectly as ."
I think I'm missing something here. Maybe something from your post got removed.
What shows incorrectly?
When I check this page hidden link, I see the canonical link like this, hidden link. Please see the attached screenshot. This points to the original product in Dutch, your site's default language. So, it looks fine to me.
I'm not an SEO expert, but in my mind, the translated English and German category pages should point to the original Dutch category page. In practice, this is what happens, so I think the outcome is the correct one.
Can you please explain why you expect to see the English category page points to itself?
We enabled the option "Adjust IDs for multilingual functionality" in WPML -> Languages -> Make themes work multilingual, which solved the problem. Now the canonical link is: hidden link
Please see the attached screenshots.