Can't Access Admin Panel after changing Base URL in Magento 2.1.3
-
06-10-2020 - |
Question
I made a mistake. I changed the Admin Base URL and now I can't access the admin site.
In the core_config_data
table,I edited the following rows in the database:
Scope:"Default"
and Path:"admin/url/custom"
Select the NULL
checkbox and save.
Scope:"Default"
and Path:"admin/url/use_custom"
Change value from 1 to 0
and save.
I deleted the following rows:
Scope:"Stores"
and Path:"web/secure/base_url"
Scope:"Stores"
and Path:"web/unsecure/base_url"
La solution
You need to insert again "web/secure/base_url" and "web/unsecure/base_url", it's your store frontend URL (not admin).
Don't forget to clear your cache from command line:
php bin/magento cache:clean
php bin/magento cache:flush
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange