How to Change URL of Magento 2 Admin, from Autogenerated URL Key to Your Own URL Key?

  • author-img Nidhi Arora
  • 8 years

As Envision Ecommerce has promised to keep you updated with the latest information on Magento 2, today we would like to share with you our new research activity on how to change the URL of Magento 2 admin, from “Autogenerated URL key” to your own URL key.

There are 2-3 simple & easy steps involved in this:

Step 1: env.php

Go to env.php located at: magento2\app\etc

Step2:  line #4, change autosetstring” to “myadmin”

In line #4, you need to replace “autosetstring” with “myadmin”.

For example:

In line #4, change 'frontName' => 'autosetstring' to  'frontName' => 'myadmin'
So, now your new admin URL will be: www.yoursite.com/index.php/myadmin

We hope that aforementioned steps work fine for you. We will keep posting & update you regarding any new experiments & advancements in Magento 2. We welcome your feedbacks and also appreciate any other idea that suits best in this case.

Download Blog

ENQUIRY

Ready to Get Started

Communication is the key for us to understand each other. Allow us to understand
your requirements or queries. Present us with an opportunity to serve you.

Fill out the form and out team will get back to you
within 24 hours

    Head Office

    815 Brazos St STE 500, Austin,
    TX 78701, USA