Change magento admin path

How to change your Magento admin path

by Comments closed In: Development

Why you should change the Magento admin path?

By default, Magento store admin can be accessed by adding a /admin to your store URL.  This is known to anyone who knows Magento and is also available to hackers and bots. Hackers can brute-force to gain access to your store and eventually, if your admin login is not strong enough they can easily break it. According to Magento shoplift vulnerability (SUPEE-5344 patch), Magento indicated that your store backend should not be known to the public.

Here is how to change Magento admin path

Wondering how to change the Magento admin path? Magento gives a very easy way to change the Magento admin path to anything of your choice. Here are the steps to change your Magento store URL –

  • Connect to your store ftp and navigate to app/etc from your Magento setup root directory
  • Open local.xml
  • Look for the following code snippet in the file
    <admin>
    <routers>
    <adminhtml>
    <args>
    <frontName><![CDATA[admin]]></frontName>
    </args>
    </adminhtml>
    </routers>
    </admin>
  • Change the admin word to something else you want. Let’s say we want to set it to nothing here so the code will be like the below –
    <admin>
    <routers>
    <adminhtml>
    <args>
    <frontName><![CDATA[nothinghere]]></frontName>
    </args>
    </adminhtml>
    </routers>
    </admin>

Flush your Magneto cache and access your Magento store with your new admin URL. Not able to follow the process yourself? Hire a dedicated Magento developer to secure your online Magento store today.

The online store keeps lots of confidential information about your business & customers and it’s important to maintain website security. A platform like Magento is available to hackers who continuously keep finding easy ways to break the security of your Magento store.

Keeping the core code up to date is one of the best ways to keep your store secure. Magento 2 is much more secure, robust, fast & friendly.

Upgrade your store to Magento 2 if you haven’t done yet. Check out my post “Migration to Magento 2. Are you still thinking ?” in case you are not able to make a decision. I have highlighted some of the important benefits & advanced features of Magento 2 over its former version Magento 1.

However, this migration process is not that straightforward. Look to hire a Magento development agency that can help you through the entire migration process.

Categories