Globally Insert Canonical Links into Miva Merchant 5.5
Insert the following code into the “Head Tag Content/CSS” area of Miva Merchant 5.5. This area is global and will automatically insert the correct canonical links into all of your Miva Merchant pages. You do have to configure these links to work with your particular store links.
<mvt:if expr=”g.screen EQ ‘PROD’”>
<link rel=”canonical” href=”http://www.domain.com/product-pointer/&mvta:product:code;.html” />
<mvt:elseif expr=”g.screen EQ ‘CTGY’”>
<link rel=”canonical” href=”http://www.domain.com/category-pointer/&mvta:category:code;.html” />
<mvt:else>
<link rel=”canonical” href=”http://www.domain.com/&mvta:global:Screen;.html” />
</mvt:if>
