Magento 2 Base URL – How to Get Base URL in Admin Static Block/Page

base-urlcategorylinkmagento2static-block

How can I get (current store) Base Url in CMS block/page in Magento 2? Actually, I am displaying category names in the footer by using static block. For that how can I give the Category Url links in admin static block?

Best Answer

You can add current store URL in static block.

{{store url=""}}

If you wanto add store url with category URL.

{{store url="category-url"}}
Related Topic