Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Magento frontend login not working in chrome with https[Solved]

I am using magento community edition 1.9.2.2. I am not able to login to website. I know this problem can be because of chrome not accepting cookies. It is working fine in other browsers like Firefox, safari etc. I have tried many changes but only following changes is working in my case, cause i am using login page with https.

Solution1:

Go to System->configuration->web->Session and Cookie Management

Magento session management


Change Cookie Domain to your domain name(example.com).

Now clear you magento cache and also delete all cache of your chrome and try to login again.


Solution2: If solution1 is not working for you, you can try this one. But make sure to revert changes you did in solution1.

Add following rules in your htaccess file. To redirect Non www url to www.

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule (.*) http://www.example.com/$1 [L,R=301]

That's it.

Please support us, Like us on Facebook.

0 comments:

Post a Comment

 

Copyright @ 2017 HKBlog.