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

Published by

Sumith Harshan

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.