Welcome to our blog!

Magento 2 tutorial

Blog for Magento 2

Menu

Get Base Url in Magento 2

January 17, 2020 at 12:26 pm | Magento, Magento 2 | admin -

In Magento 1, its very easy just use code: Mage::getBaseUrl(); But in Magento 2 There are 2 ways to get Base Url. Object Manages Magento Core Method Object Manages Magento Core Method