Magento 2 – Get Base URL in Static Block

cms-blockmagento-2.1magento-2.1.2magento2static-block

I'm trying to get the base url in a static block.

I've tried the following code:

<a href="{{base url=""}}../business">

I knew this wasn't going to work because it needs <?php ?> around it.
Is there an alternative way to get the base url in a static block through the backend?

Screenshot for clarification:
enter image description here

Best Answer

You can get base url in static block like this.

<a href="{{store direct_url="business"}}">Your link</a>
Related Topic