This Zen Cart tutorial is the last in a three part instructional series that teaches zen cart users how to install and configure SSL on their web sites.
After your hosting company has installed your SSL certificate, and you know that ‘https://www.your_site.com’ loads without incident, you may enable SSL support in Zen Cart.
The first thing you will need do is make a few changes in the /includes/configure.php and /your_renamed_admin/includes/configure.php files.
In includes/configure.php and admin/includes/configure.php find and change this info:
// Define the webserver and path parameters
It should also be noted that in Zen Cart v1.x, in order to use SSL to secure all admin pages, You will need to change the HTTP_SERVER in your “/admin/includes/configure.php” so that it matchesyour HTTPS_SERVER setting URL. If the DIR_WS_ADMIN looks something like ‘/adminfoldername/’ and does not reference $p1 or any other $ variables, then ensure that DIR_WS_ADMIN matches DIR_WS_HTTPS_ADMIN. This will happen automatically with new installations of v1.5.x and newer, as this is required for PCI compliance.
And don’t forget, your configure.php files are most likely marked read-only. To upload your updates, you will have to change them to read-write, and then put them back to read-only when you are finished.
The last step in this process is to look your site over, and make sure that the SSL is working correctly. You will most likely need to clear your browser’s cache and cookies before doing this. If you don’t, your logins might not be successful, since your web browser will be using information from your zen cart store’s old URL. This problem is very easy to remedy, however, by cache and cookies, and perhaps restarting your web browser in some cases.
If you need help with your zen cart web site please contact us for a quote.