Showing results for 
Search instead for 
Did you mean: 

Clean Url to Magento Module

Clean Url to Magento Module

I want to do following this to url in my module 


Current URL:
Wanted URL:


I edited .htaccess in magento root  to following code 

RewriteCond %{QUERY_STRING} ^var=(.+)$
RewriteRule ^(.*)$ [L,R=301]


Above htaccess rewriterule successfully let me redirect to url but It's showing not found page. 

Can anybody please let me know how to do this. 



Nirmal (
Magento Freelancer

Re: Clean Url to Magento Module

Did you find a solution for this? 


Does your controller access that as a response?

Magento Moderator since 2009
Keep Calm and Clear Cache!