Change in behavior regarding canonical URL
-
Hi.
I have a shop which is run with WPML and I use different URL’s for each language (built in feature in WPML).
The homepage on the site is also the WooCommerce shop page. When I installed your plugin, everything was working and all three URL’s displayed the correct text and image for the shop URL’s.
For some reason now the default language URL isn’t working any more. Your plugin send a canonical URL for this domain rendering the wrong image to show (site favicon…).
For the two secondary languages/domains it works as intended.The default language/domain is Swedish: https://www.armsportbutiken.se/ (not working… When I check the sharing debugger, your plugin has set a canonical URL https://www.armsportbutiken.se/butik/ instead of using the actual URL which is https://www.armsportbutiken.se/ only. And this must have happened after the latest update, as this worked when I installed it a couple of months ago. And I did check the debugger for all domains at that point to check if my php code snippets for setting images etc was working.)
Secondary language/domain in English: https://www.armsportstore.com/ (works fine, no canonical URL)
Third language/domain in English(EU): https://www.armsportstore.eu/ (works fine, no canonical URL)
Any idea on how I can fix this?
By the way, appreciate a nice plugin, as I switched from another OG-plugin to this, as I never got that to work. So was very happy to see your plugin work.
- The topic ‘Change in behavior regarding canonical URL’ is closed to new replies.