Magento get current url without parameters : Magento Get Current url without the parameter as
Magento get current url without parameters Syntax
$request = $this->getRequest(); $urlWithoutParameters = Mage::getBaseUrl(). $request->getRouteName() .'/'. $request->getControllerName() .'/'. $request->getActionName();
Which will return the current url without the including the base url
Magento get current url without parameters Example
http://example.com/category/fashion/latest