Magento Store - Get Base URL in Static Block

For those that are still looking for a solution, the following should do the trick for you...

For the unsecured base URL:

{{config path='web/unsecure/base_url'}}

Or for the secured base URL:

{{config path='web/secure/base_url'}}

Try this

<a href="{{store url="contacts"}}">Contact Us</a>

you can use this {{store direct_url="contacts"}}

For example:

<a href="{{store direct_url="contacts"}}">contact us</a>

Try adding this to your static block:

<a href="{{store url=""}}">Link to Base URL</a>

That should create a link to your store's base URL.

Tags:

Magento