How to log in to the Magento 2 admin if the requested URL was not found
We already described several cases of how to open your store when Magento 2 is not accessible in a browser. In the following article, we explore a specific scenario related to the Magento 2 admin. If you try to rich the backend, but the system informs you that the requested URL was not found, you’ve come to the right place. For more useful tips, check this list: Magento 2 Cookbook.
The Issue
You try to access your Magento 2 admin, but the following error doesn’t let you do that. An incorrect base URL always causes this problem. For instance, you use the following address to enter the backend
1 |
/magento2index.php/admin/admin/dashboard/index/key/0c81957145a968b697c32a846598dc2e/ |
The Solution
At first sight, everything is ok with this URL. However, you may notice the lack of a slash character between magento2 and index.php. If, you’ve missed it accidentally, try the fixed version:
1 |
/magento2/index.php/admin/admin/dashboard/index/key/0c81957145a968b697c32a846598dc2e/ |
If it doesn’t help, your base URL is not correct. Check whether it starts with either https:// or http://. Your base URL should also end with a slash (/). And finally, you have to see it matches the case of the web/unsecure/base_url record in the core_config_data table.
To correct your base URL, you have to rerun the installation considering the rules. Follow this link for further information: