Configure OpenCart to work with Cloudflare and SSL

 No Comments
The free account with CloudFlare does not support SSL. However, this does not mean you cannot use a free Cloudflare account with your SSL certificate. More information about this can be found in our tutorial here:

Does CloudFlare support SSL?

This is very first and the good step to take backup. Before performing the following procedure, it is a good idea to make a backup of your account prior to making any changes.
As you may or may not know, Cloudflare works via a CNAME record for www. This means that is redirected to Cloudflare’s servers, but (without www) is not.

Modify this code

define('HTTP_SERVER', '');
define('HTTP_IMAGE', '');
define('HTTP_ADMIN', '');

define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');

Leave a Reply