56. Magento. How to change admin panel URL
1 min read1. Open the app/etc/local.xml configuration file, using any php/text editor or the Text Editor in the cPanel File Manager. Locate the following code segment:
1
2
3
4
5
6
7
8
9
10
|
<admin>
<routers>
<adminhtml>
<args>
<frontname><!–[CDATA[admin]]></frontName–>
</frontname></args>
</adminhtml>
</routers>
</admin>
|
2. Replace <![CDATA[admin]]> with <![CDATA[new_admin_url]]> :
For example: <![CDATA[administrator]]> :
3. As a result the path to your store will be http://your_magento_store/administrator
4. Then you need to clear Magento cache. Open the Magento installation root directory, go to var/cache folder and delete all folders there.
The change is now complete and you can try loggin in via the new admin URL.