Originally Posted by
mc12345678
That's not a Zen Cart problem.
What you are essentially asking is how do you not only make your entire site served as https: but how do you ensure that everyone trying to access your site arrives at https:.
There was a snippet of. Htaccess code posted recently that could help with this:
https://www.zen-cart.com/showthread....49#post1322749
It doesn't provide the specific remedy, but is somewhat along the lines of what you are looking.
Basically you want to detect/pickup whether they have accessed via http: or https: and if http: then redirect to https:
Thanks,what i mean is when i type www.mywebsite.com,it will not go to htttps://www.mywebsite.com or when i type any of the website link without https,it will not go to ssl.But after i enter into mywebsite,just click any content,it will go to https... This is really wired.
Also i found something strange,in configure file,website will not to to https if i do the following setting
PHP Code:
define('HTTP_SERVER', 'http://www.mysite.com');
define('HTTPS_SERVER', 'https://www.mysite.com');
/**
* If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
*/
define('ENABLE_SSL', 'true');
I need to change
HTTP_SERVER', 'http://www.mysite.com
to
HTTP_SERVER', 'https://www.mysite.com
Bookmarks