Use the ollowing code to get a routes front name:

The code will return “config”, if you add the following XML to your modules config.xml:

Getting the front name of a route programmatically
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!
Keywords: