change admin url in magento?

formally our Magento admin url like this: yourdomain.com/index.php/admin
So in last 'admin'. We can change admin to any....Lets start...

Go in app/etc/local.xml
And find below line

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

Here change admin to any name and save file.

For ex: <frontName><![CDATA[test]]></frontName>

Remember use only small character.

Now your new admin url like this: yourdomain.com/index.php/test

go to var/cache folder and delete cache. Now open admin with you are new admin name url.



Labels: