Magento

eCommerce Software for Online Growth

Magento Forum

From setting up your store to managing your products, pages and promotions to generating detailed reports, the Magento User Guide empowers the user to utilize the platform for all of its vast capacity.
Available in eBook and Print formats – Download Now!!!
   
Custom module url .html suffixes
 
Kar
Jr. Member
 
Total Posts:  6
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:  6
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 2010 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
277247 users|1192 users currently online|346998 forum posts