Change Magento Admin URL

It is very easy to change admin URL for magento. If you want to change URL from

http://www.example.com/admin

TO

http://www.example.com/customadmin

All you need is to properly set your custom admin url in the config file /app/etc/local.xml. In this file change this:

<frontName><![CDATA[admin]]></frontName>

to this:

<frontName><![CDATA[customadmin]]></frontName>

Now save the file and clear the cache (if you are using it). If you still don’t have access to the admin you may clear the cache by deleting the contentss of the /var/cache directory. This is it.

3 Comments

Miroslav  on December 9th, 2010

255

Hello.

In my /app/etc/local.xml there is no

Any help?

Miroslav  on December 9th, 2010

256

Sorry,

In my /app/etc/local.xml there is no frontName

(No excepted tag first time…)

Miroslav  on December 9th, 2010

257

I found solution. Just added few lines between config tags and cleared cache.
:)

Leave a Comment

*

Spam protection by WP Captcha-Free