I am trying to add a canonical URL in category page custom design. But it is not taking.

Here is my code,

<reference name="head">
    <action method="addItem"><type>skin_js</type><name>technopro/vendors/js/moment.min.js</name></action>
    <action method="addItem"><type>skin_js</type><name>technopro/vendors/js/bootstrap-datetimepicker.js</name></action>
    <action method="addItem"><type>skin_css</type><name>slider/slick.css</name></action>
    <action method="addItem"><type>skin_css</type><name>slider/slick-theme.css</name></action>
    <action method="addItem"><type>skin_js</type><name>slider/slick.js</name></action>
    <action method=”removeItem”>
    <action method=”addLinkRel”>
<reference name="content">
    <block type="forms/forms" template="healthcheckupforms/mriscan.phtml"/>

Canonical URL is not taking it is showing in source code as,

a href="https://www.examplesite.com/cochin/mri-scan-cost"

But it should be shown as,

link rel="canonical" href="https://www.examplesite.com/cochin/mri-scan-cost"


Change below code it seems double quote is not proper




And below one as well:



| improve this answer | |
  • Thnkyou prashant :) – vinaysirige Jan 3 at 5:35
  • If it is solution you can accept it so it will help others – Prashant Valanda Jan 3 at 6:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.