Magento – Custom admin url, now some admin modules redirect to frontend

admincustomredirecturl

I have moved the magento admin to a seperate node, thus updated the settings in admin to set admin url as custom : thus admin.example.com, which points to that servers ip.

All ok, but I find a lot of 3rd party modules are no longer working in admin.
If selected from menu, they flip to frontend url, and thus exists admin.

Any ideas what I am missing?

Best Answer

Check their config.xml.

I think instead of "extending" the Mage_Adminhtml Controllers, they implement their own. But at this moment, I have no idea, why this is technical a problem - maybe it is not ;-)

correct

<admin>
    <routers>
        <adminhtml>
            <use>admin</use>
            <args>
                <modules>
                    <my_customer before="Mage_Adminhtml">Namespace_Module_Adminhtml</my_customer>
                </modules>
            </args>
        </adminhtml>
    </routers>
</admin>

wrong

<admin>
    <routers>
        <YOUR_NEW_ROUTER_NAME_HERE>
            <use>admin</use>
            <args>
                <module>Namespace_Module_Adminhtml</module>
                <frontName>my_module</frontName>
            </args>
        </YOUR_NEW_ROUTER_NAME_HERE>
    </routers>
</admin>