Magento Installation error..redirects to localhost?
-
04-10-2019 - |
Pergunta
I am unable to login into magento admin.
In magento, (in newest release..)
it needs proper domain to login ...but how it is possible in a local machine...
I found some solution ...in magento forum here... http://www.magentocommerce.com/boards/viewthread/4337/P15/
They asked to change localhost to http://127.0.0.1
but when tried it redirects to localhost...?!
Solução
Create a "fake" domain name, something like magento.dev. Setup an apache virtual host with this name, and add an entry to your hosts file that points magento.dev to 127.0.0.1
Outras dicas
You need to change your localhost to h t t p ://127.0.0.1 and then delete the cache and session folder located at your /magento/var folder
Make sure you have a trailing slash when you change it: e.g. h t t p ://127.0.0.1/
Make web/seo/use_rewrites = 0
to avoid the xampp url redirection through magento links.