I recently needed to add rel canonical tags to Magento Community Edition on every cms page. The default canonical generation feature that comes embedded with Magento works with Categories and Products only, not with CMS pages.
I wanted my canonical links to be with (www), so, this example assumes you also want to achieve the same result.
There are some extensions that do this out of the box. But, I did not want to add an extension to achieve something as simple as this.
Here is a simple way to do it.Continue Reading → How to Add Rel Canonical Tag to Magento