1

I change my admin URL to a custom URL and I cannot access my store admin anymore.

How can I revert the change that I made?

2
  • Detail the process of changing it in the first place. What did you do? – vitoriodachef Feb 28 '18 at 11:01
  • change in app/etc/env.php file – Jigs Parmar Feb 28 '18 at 11:34
1

Cache

If you did not flush the cache after the changed URL, flush it with:

bin/magento cache:flush

Show Admin URL info

You can find out about the current admin url via:

bin/magento info:adminuri

app/etc/env.php

You can also view the admin url in app/etc/env.php:

  'backend' =>
  array (
    'frontName' => 'admin_1wgrah',
  ),
1
  • thanks for your help Anna, I have never used the code before, I merely use the admin panel to add products to the store front, create some pages, add needed links, etc. – Kunle Jegede Feb 28 '18 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.