To insert links in the CMS, we use this code:
<a href="{{store url='home'}}">home</a>
What is this "store" keyword doing and why is it called "store"?
And are there any other keywords available in place of store?
Is it also possible to write just the URL, without "store"?
If yes, what is the correct syntax?
Best Answer
Magento Syntaxes to use URLs in CMS Content:
{{skin url='images_foldername/image_name.jpg'}}
- get image from skin folder of configured theme package{{media url='magento-image.jpg'}}
- get image from media folder{{store url=''}}magento-page.html
- get domain URL of working store{{base url=''}}magento-page.html
- get domain URL of base website.