Display or change the Admin URI
Before you run this command, you must Create or update the deployment configuration.
Display the Admin URI
This section discusses how to use the command line to display the Admin Uniform Resource Identifier ().
Command options:
bin/magento info:adminuri
A sample result follows:
Admin Panel URI: /admin_1wgrah
You can also view the Admin URI in <magento_root>/app/etc/env.php
. A snippet follows:
'backend' =>
array (
'frontName' => 'admin_1wgrah',
),
Change the Admin URL
To change the Admin URI, use the magento setup:config:set
command.
recommendation-more-help
0f8e7db5-0e9c-4002-a5b8-a0088077d995