Google+

Pages

Wednesday, July 4, 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 :)

2 comments:

Shasing19 said...

I am glad that I discovered your post. My friend have been looking for a post regarding how to change Admin URL Path. She will be glad too for this. A lot of thanks.


Shasing|magento developer

MOHIT KUMAR ARORA said...

Thanks Shasing19.

I am glad to help you.