Best way to link to a CMS page in Magento

Tait E-Commerce News, Weblog Leave a Comment

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:

<a href="{{store url='link-to-custom-cms-page'}}">Safe Magento Custom CMS Link</a>

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.