Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

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