AlokaiA
Alokai2y ago
3 replies
Darren R

Canonical Links have forward slash encoded which breaks the page

Hi. The Canonical Links that get added to the head have the forward slashes encoded to %2F

You can see this on the production demo (https://demo-magento.vuestorefront.io/default/women/tops-women/hoodies-and-sweatshirts-women.html):

<link data-n-head="ssr" data-hid="i18n-can" rel="canonical" href="/default/women%2Ftops-women%2Fhoodies-and-sweatshirts-women.html">

If you try and use the encoded URL (https://demo-magento.vuestorefront.io/default/women%2Ftops-women%2Fhoodies-and-sweatshirts-women.html) you will see the page doesn't load correctly, the Title does not load.

Also, there is a concern that Google will index this as a separate page.

Is there a way we can update this to use
/
?
@vue-storefront/magento-theme
Magento2 Integration for Vue Storefront 2
Was this page helpful?