1

I am using Magento 1.9.3 and server Godaddy VPS. I am trying to disable Use SID on Frontend in admin->configuration->web->Session Validation Settings->Use SID on Frontend No.

After this change URL working properly but customers can't login in front-end. Even invalid username and password message also not displaying, just page loading.

But same function is working in localhost.

How can I fix this issues...?

And thanks in advance....

2
  • have customized any customer login section?
    – Abdul
    Commented Jul 14, 2017 at 11:23
  • No am using default customer login @Abdul
    – Ramesh S
    Commented Jul 14, 2017 at 11:26

2 Answers 2

1

Finally i found the solution

Solution 1:

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

enter image description here

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.

Solution 2: 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]
0

Go to : system->configuration->web->unsecure (and secure if needed) and fill in http://www.domaine.com for the base url and base link url.

1
  • Thanks for your answer. But sorry it's not working
    – Ramesh S
    Commented Jul 17, 2017 at 6:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.