Question

How to get the base url into magento2 module app/etc/config.xml file.

<storefront>
    <report_uri>https://www.example.com/</report_uri>
</storefront>

instead of https://www.example.com/ I need to get the base url

Please anyone help me.

thanks

Was it helpful?

Solution

Get the base url in magento {{config path='web/unsecure/base_url'}}

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top