Adding Canonical URL to CMS Pages

Last modified by kwoolf on Mon, March 28, 2011 12:45
Source|Old Revisions  

This is an old revision of the document!


There are many extensions that add canonical URLs to product and category pages, but what’s up with CMS pages? There is no need to access your FTP to edit files. To add a canonical URL to a CMS page, simply navigate to the CMS page in the admin panel and then add the following to the Layout Update XML text area under the Design tab:

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

Presto!

You’ll have to add this to every page individually, but you should be entering meta data anyway.

kwoolf 2011/03/28 13:43




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs