Module redirect to admin store in multi store.

Open config.xml of your module

<admin>

    <routers>
        <{vendor}>
            <use>admin</use>
            <args>
                <module>{Vendorname}_{Modulename}l</module>
                <frontName>{urlcode}</frontName>
            </args>
        </{vendor}>
    </routers>
</admin>
Replace above  code with below
<admin>
    <routers>
        <adminhtml>
            <args>
                <modules>
                    <{Vendorname}_{Modulename}_Adminhtml before="Mage_Adminhtml">{VendorName}_{Modulename}_Adminhtml</{Vendorname}_{Modulename}_Adminhtml>
                </modules>
            </args>
        </adminhtml>
    </routers>
</admin>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s