<?php
$currentUrl = Mage::helper('core/url')->getCurrentUrl();
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
$path = $url->getPath();
echo $currentUrl;
print_r($path);
?>
Tuesday, August 18, 2015
Get the current URL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment