Magento 2 retrieve admin url
Today we talk about how in Magento 2 retrieve admin url. This tutorial included how to get admin url in case you forgot about that. This tutorial show how can you get your admin url from command and also from file. So let start with our example.
File system:
You can also retrieve the the Magento 2 Admin URL in /app/etc/env.php. Example of the relevant file content:
'backend' =>
array (
'frontName' => 'admin_test',
),
Using Command Line Interface(CLI):
Run the following command to retrieve admin url information.
php bin/magento info:adminuri
Qaisar Satti
Hi, I'm Qaisar Satti! I've been a developer for over 20 years, and now I love sharing what I've learned through tutorials and guides. Whether you're working with Magento, PrestaShop, or WooCommerce, my goal is to make your development journey a bit easier and more fun. When I'm not coding or writing, you can find me exploring new tech trends and hanging out with the amazing developer community. Thanks for stopping by, and happy coding!