Tag Archive for magento base url phtml

Magento : Get Base Url , Skin Url , Media Url , Js Url , Store Url and Current Url

Magento Store is include differents  url path such images as , javascript, base url, media and store url. There are different ways to retrieve mentioned URL paths depending on where section you’re editing.

To Retrieve URL path in STATIC BLOCK

To get SKIN URL

To get Media URL

To get Store URL

To get Base URL

TO Retrieve URL path in PHTML

Note: In editing PHTML don’t forget to enclode the following code with PHP tag
Not secure Skin URL:


Secure Skin URL

Get  Current URL

Get Home URL

Get Magento Media Url



Get Magento Media Url


Get Magento Skin Url

Get Magento Store Url

Get Magento Js Url