For security reason, you should have to change a admin url (www.yourstore/admin). For changing an admin URL follow below steps as per mentioned.
For security reason, you should have to change a admin url (www.yourstore/admin). For changing an admin URL follow below steps as per mentioned.
- Open CPanal and click on file manager
- Click on you root folder and select APP directory
- Open App directory and select etc directory.
- And now open local.xml file. (Finally, path will show: ROOT/app/etc/local.xml)
<admin>
<routers>
<adminhtml>
<args>
<frontName><![CDATA[admin]]></frontName>
<!– <frontName><![CDATA[<<TYPE HERE NEW ADMIN URL>>]]></frontName> –>
</args>
</adminhtml>
</routers>
</admin>
And change the “admin” value.
Once all changes are done, don’t forget to save a file.
Clear Magento cache and test it. Now, new URL will is working properly and make sure that an old one returns 404 code.