How to change admin url in magento

By default we can access magento admin by simple using /admin after magento store URL. To secure your store its preferable that you change default URL of Magento store.

Below are the steps to change admin url in magento.

1) Connect to your server using SSH or cPanel or FTP
2) go to app/etc and open local.xml using any editor.
3) find below code in local.xml file

<admin>
<routers>
<adminhtml>
<args>
<frontName><![CDATA[admin]]></frontName>
</args>
</adminhtml>
</routers>
</admin>

4) Replace your new url name with admin in frontName tag.

Note : Please note that there is no special characters in new name, then save the file.

5) Now, Refresh cache and run your domain URL.

Tags: Magento1,

Related Posts

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *