In order to activate a secure connection to the website based on Zen Cart, make the changes to the file includes/configure.php.
Use a text editor (e.g. Notepad) to change the value of the parameters:
- HTTPS_SERVER from http:// to https://
- ENABLE_SSL from false to true
<?php
// Define the webserver and path parameters
define('HTTPS_SERVER', 'https://www.sslguru.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', true);
?>
In order to activate a secure connection to the admin panel, make the changes to the file admin/includes/configure.php.
Use a text editor (e.g. Notepad) to change the value of the parameters:
- HTTP_SERVER
- HTTPS_SERVER
- HTTP_CATALOG_SERVER
- HTTPS_CATALOG_SERVER
from http:// to https://
and
- ENABLE_SSL_CATALOG
- ENABLE_SSL_ADMIN
from false to true
<?php
define('HTTP_SERVER', 'https://www.sslguru.com');
define('HTTPS_SERVER', 'https://www.sslguru.com');
define('HTTP_CATALOG_SERVER', 'https://www.sslguru.com');
define('HTTPS_CATALOG_SERVER', 'https://www.sslguru.com');
define('ENABLE_SSL_CATALOG', true);
define('ENABLE_SSL_ADMIN', true);
?>
