I tried to change the Admin URL from the Backend from Stores>Configurations>Admin>Admin Base URL. I changed Use Custom Admin URL to YES and the text box opened to enter Custom URL where I entered the URL. I don't have PHPMyAdmin or anything. I can only access the database from SSH.

Magento Admin refreshed right away and now I only see the text-based version on Backend. I have tried going back to the same setting to disable it but "Save Config" (now simple text button) does not work either.

Please help, it is a live website and in production. Thank you in advance.

1 Answer 1


In your Magento product root run the following command.

php bin/magento setup:config:set --backend-frontname="admin_path"

Where admin_path is the path you want to use (e.g admin_123ab)

  • thank you for your answer. I tried that already that did not help :(. It's really strange because the admin URL never changed, instead moved to example.com/admin/admin but somehow keeps refusing CSS and JS, turning Backend to just Text. Commented Aug 28, 2020 at 3:49
  • What shows in the browser console?
    – NSwanson7
    Commented Aug 28, 2020 at 4:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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