Use the following code to get the current URL in Magento:
|
1 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(); |
Getting the current URL
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.