I'd created a module and the url for the same is something like:
http://magento.korenpub.com/designer/index/index/id/26/value/Joseph%20B.%20Soloveitchik
but I need to rewrite the url to
http://magento.korenpub.com/author/id/26/value/Joseph%20B.%20Soloveitchik
How can it be done with config.xml? I'd read this blog which describes such, but I'm unable to do it for my module.
I'd been thinking it in more complicated way but its so simple
<global>
<rewrite>
<designer_url>
<from><![CDATA[#^/author/id/#]]></from>
<to><![CDATA[/designer/index/index/id/]]></to>
<complete>1</complete>
</designer_url>
</rewrite>
</global>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With