Tue. Jul 2nd, 2024

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.

July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031