Magento Add Canonical URL For CMS Pages

Are you still searching for extension on this case? But I do not require any extension for canonical url in Magento CMS page. Are you still thinking how to do this?

Its a easy task to implement this. Just put the below code on Layout Update XML of particular CMS page.

<reference name=”head”><action method=”addLinkRel”><rel>canonical</rel><href>http://www.yoururl.com/goes/here</href></action&gt; </reference>

Go to Admin->Select Menu “CMS”->Pages->Select “Particular” Page->Right Sidebar->DesignMagento cms canonical

Advertisements