To protect your Magento backend against hackers and brute-force attacks, we recommend that you change the default URL to the Magento Admin Panel. It is a quick way to add an extra layer of security to your site.
Follow these steps to change the admin URL/path.
Note: Do NOT use the web interface in the Magento Admin Panel to change the admin URL, as this is known to cause severe problems.
Step 1 – Change Path
First, open the local.xml configuration file in your favorite text editor, or use the Text Editor in the cPanel File Manager. The file is usually located in the app/etc/ directory under your Magento installation. Locate the following code segment: