qwertyjjj Posted November 30, 2009 Posted November 30, 2009 I want users to use the www part of my site and also because google currently lists www and non-www pages. However, I cannot use htaccess because as soon as I do that, it makes all the login functions on the site fallover. Any ideas?
♥FWR Media Posted November 30, 2009 Posted November 30, 2009 I want users to use the www part of my site and also because google currently lists www and non-www pages. However, I cannot use htaccess because as soon as I do that, it makes all the login functions on the site fallover. Any ideas? You have to change both the catalog and admin configure.php files like .. Change .. define('HTTP_SERVER', 'http://mysite.com'); define('HTTPS_SERVER', 'http://mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.mysite.com'); define('HTTPS_COOKIE_DOMAIN', '.mysite.com'); to .. define('HTTP_SERVER', 'http://www.mysite.com'); define('HTTPS_SERVER', 'http://www.mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
qwertyjjj Posted November 30, 2009 Author Posted November 30, 2009 You have to change both the catalog and admin configure.php files like .. Change .. define('HTTP_SERVER', 'http://mysite.com'); define('HTTPS_SERVER', 'http://mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.mysite.com'); define('HTTPS_COOKIE_DOMAIN', '.mysite.com'); to .. define('HTTP_SERVER', 'http://www.mysite.com'); define('HTTPS_SERVER', 'http://www.mysite.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mysite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com'); Hi I did that and it disabled all loggin in of customers on the cart. Must be something to do with the sessions. Is there anything in the db that needs changing? Bizarrely it didn't cause a problem for the admin login.
♥FWR Media Posted November 30, 2009 Posted November 30, 2009 Hi I did that and it disabled all loggin in of customers on the cart. Must be something to do with the sessions. Is there anything in the db that needs changing? Bizarrely it didn't cause a problem for the admin login. Well those are the correct settings .. have you cleared your browser cookies? Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
qwertyjjj Posted December 1, 2009 Author Posted December 1, 2009 Well those are the correct settings .. have you cleared your browser cookies? Yes, that worked. Shouldn't cookies reset themselves automatically though?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.