7/04/2012

Magento: How to change Admin URL Path

In general, magento admin url path looks like this:

[store_url]/admin

For security reason, you may want to change admin path. To do this:

Open app/etc/local.xml and find code like this:

<admin>
    <routers>
            <adminhtml>
                <args>
                    <frontName><![CDATA[admin]]></frontName>
                </args>
            </adminhtml>
        </routers>
</admin>
You have to change below line:
<frontName><![CDATA[admin]]></frontName>
to:
 
<frontName><![CDATA[backstore]]></frontName> 
Note: Where backstore can be replaced by the word of your choice.

Now save the file.

Clear your magento cache from System-->Cache Management
Now you are ready to use your new admin url path.

Enjoy :)

No comments:

Post a Comment