Home » Magento » Magento get all URL paths

Magento get all URL paths

Here,simple scripts to get store url, media url, skin url, site url, js url, current page url, site url in magento.You can use these methods in your phtml files in magento.

These all data get from Store.php file located in /Core/Model/Store.php

1- Get Store URL

2- Get Skin URL

3- Get Media URL

4- Get Direct Link

5- Get Secure Base URL

6- Get JS URL

7- Get Site URL

8- Get Current Page URL

Tags

Similar posts