I’m trying to remove “amp/” for my url.
I have code like this:
<?php echo Mage::helper('core/url')->getCurrentUrl(); ?>
It outputs like this:
I’ve been trying but so far everything I’ve tried gives me an error:<?php $str = Mage::helper('core/url')->getCurrentUrl()); ?><?php echo preg_replace('amp', "", $str); ?>
Can someone show how to do this?