开发者

Magento Installation error..redirects to localhost?

开发者 https://www.devze.com 2022-12-30 23:18 出处:网络
I am unable to login into magento admin. In magento, (in newest release..) it needsproper domain to login ...but how it is

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 machin开发者_如何学Pythone...

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


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


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消