Hi, after installing locally (I use xampp) I can't see the magento home (see photo below).
Furthermore, I can't even access the admin (see photo)
I don't know how to solve the problem ... thanks to those who want to help me.
Solved! Go to Solution.
Hello @infovicenz481b
Please check your base URL by below command :
php bin/magento config:show web/unsecure/base_url
And
php bin/magento config:show web/secure/base_url
The secure URL should be like "https://YOUR_DOMAIN/"
and the unsecure URL should be like "http://YOUR_DOMAIN/"
if it's incorrect you can update it by :
php bin/magento config:set web/secure/base_url https://NEW_DOMAIN/
and
php bin/magento config:set web/unsecure/base_url http://NEW_DOMAIN/
both must end with a "/"
Hope it helps !
Hello @infovicenz481b
Please check your base URL by below command :
php bin/magento config:show web/unsecure/base_url
And
php bin/magento config:show web/secure/base_url
The secure URL should be like "https://YOUR_DOMAIN/"
and the unsecure URL should be like "http://YOUR_DOMAIN/"
if it's incorrect you can update it by :
php bin/magento config:set web/secure/base_url https://NEW_DOMAIN/
and
php bin/magento config:set web/unsecure/base_url http://NEW_DOMAIN/
both must end with a "/"
Hope it helps !