Fri. Apr 25th, 2025

56. Magento. How to change admin panel URL

1 min read

1. 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>

How_to_change_admin_panel_URL

2. Replace <![CDATA[admin]]> with <![CDATA[new_admin_url]]> :

For example: <![CDATA[administrator]]> :

How_to_change_admin_panel_URL_2

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.

April 2025
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
282930