Jump to content

Problem Cookie duplicate Chrome


Recommended Posts

Hello,

on my prestashop 1.7.1.0 known that sometimes there are problems derived from cookies on chrome (unable to login for example) because chrome saves two different cookies related to my site:

site.com
www.site.com

I would like you to save everything under the www address of my site.

I tried to add this code to the htaccess file but it did not work

RewriteEngine on
RewriteCond   %{HTTP_HOST}   !\..+\.
RewriteRule   ^   http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...