How do I change Magento Admin URL/path?

Article ID #1072
Revision: 1.2
Last update: 2011-01-26

To change Magento Admin URL it is needed to edit app/etc/local.xml file replacing 'admin' entry in the following section with the new URI part you wish to use:

 

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

After flushing Magento cache the admin page should be available via new URI. To flush Magento cache you can use the Flush cache button at System > Cache Management in Magento backend or the Clean cache button at your Store properties screen in Magenting panel.

Please note, that changing Admin URL via configuration at System > Configuration > Advanced > Admin is not the same thing and we do not recommend to change the options there.

 

 

 

Did this article help you solve your issue?


Average rating: 3.96 (25 votes)

completely useless 1 2 3 4 5 most valuable

Tags: , ,