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
<config> <admin> <routers> <adminhtml> <args> <modules> <myextension before="Mage_Adminhtml">Companyname_MyExtension_Adminhtml</myextension> </modules> </args> </adminhtml> </routers> </admin> <config>
All you need to do is ensure the following path exists