How to find the Magento 2 backend's base URL using the command line?

backend
base-url
backend-url
command-line
env.php
url
(Dmitry Fedyuk) #1

You can find the backend’s URL suffix with grep:

grep "frontName" app/etc/env.php

The full Magento 2 backend’s base URL is <frontend base URL>/<backend suffix>.

If you are uncomfortable with the command line, then you can find the backend’s suffix using GUI.

0 Likes

How to find the Magento 2 backend's base URL?
How to find the Magento 2 frontend base URL using the command line?
app/etc/env.php — the place where Magento 2 stores the database credentials, backend URL, enabled cache types, etc
How to find the Magento 2 database credentials using the command line?
(Dmitry Fedyuk) #2

See also:

0 Likes