Try the Demo

Magento

eCommerce Software for Online Growth

Magento Forum

Our new hosted solution for small & emerging businesses
   
Custom module url .html suffixes
 
Kar
Jr. Member
 
Total Posts:  10
Joined:  2009-02-15
 

I have been scratching my head trying to solve this one, and I’d be grateful if anyone can give me a heads-up.

Basically I have a custom module with its own controller. Everything works fine, but my client asked if it was possible for the module to use .html suffixes.

For example I have http://mystore.com/my-module which loads the MyModule/controllers/IndexController.php controller and calls the indexAction() method.

What I want is to have http://mystore.com/my-module.html point to the same thing.

I can’t work out how to achieve this?

Thanks for any help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kar
Jr. Member
 
Total Posts:  10
Joined:  2009-02-15
 

Ahh excellent, thank you for your help!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2012 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
697453 users|1826 users currently online|496718 forum posts