user177913
user177913

Reputation: 475

Magento Installation error..redirects to localhost?

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...?!

Upvotes: 1

Views: 5432

Answers (4)

Deep
Deep

Reputation: 1

Make web/seo/use_rewrites = 0 to avoid the xampp url redirection through magento links.

Upvotes: 0

John Laniba
John Laniba

Reputation: 435

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

Upvotes: 6

dardub
dardub

Reputation: 3195

Make sure you have a trailing slash when you change it: e.g. h t t p ://127.0.0.1/

Upvotes: 0

Alana Storm
Alana Storm

Reputation: 166096

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

Upvotes: 3

Related Questions