Best way to link to a CMS page in Magento


By on

Keeping this code handy will save you time when populating your Magento CMS pages. It will create a safe link which will continue to work if you ever decide to move your site. It is the equivalent of:

www.yourwebsite.com/seethelinkbelow

[code]<a href=”{{store url=’link-to-custom-cms-page’}}”>Safe Magento Custom CMS Link</a>[/code]

To keep things tidy, don’t forget to use single quotes on the store url link.

Leave a comment