Magento custom extension admin urls

So you’re the kind of person that likes convention and you want your custom extension to have a URL like this.

It’s relatively straight-forward but not very well documented.

Simply open up your extensions config.xml located somewhere such as:


Inside the <config> tags add


                        <myextension before="Mage_Adminhtml">Companyname_MyExtension_Adminhtml</myextension>

All you need to do is ensure the following path exists



Buy Me A Coffee
back arrowBack to Index