opencart ssl ayarı nasıl yapılır

How to Set Opencart SSL ?

To set Opencart SSL, you must have: Domain – Hosting service, SSL certificate and Opencart installed.

With the installation of Opencart, you can apply the following procedures to seamlessly redirect the SSL certificate you need to use for your e-commerce site to domain;

By changing a few lines of code in the config.php and admin / config.php files in the main directory (public_html) where you installed the OpenCart software, you will activate your SSL certificate on your e-commerce site.

First, open the config.php file in the main directory (in public_html) where you installed the Opencart software with the edit command and find the following codes.

// HTTP
define('HTTP_SERVER', 'http://www.domain.com/admin/');
define('HTTP_CATALOG', 'http://www.domain.com/');
define('HTTP_IMAGE', 'http://www.domain.com/image/');

// HTTPS
define('HTTPS_SERVER', 'https://www.domain.com/admin/');
define('HTTPS_IMAGE', 'https://www.domain.com/image/');

If you found the codes, replace them with the following.

// HTTP
define('HTTP_SERVER', 'https://www.domain.com/');
define('HTTP_IMAGE', 'https://www.domain.com/image/');
define('HTTP_ADMIN', 'https://www.domain.com/admin/');

// HTTPS
define('HTTPS_SERVER', 'https://www.domain.com/');
define('HTTPS_IMAGE', 'https://www.domain.com/image/');

If you changed the codes above, save and close it and there is one more config.php  file inside the admin  folder in the  same directory  . Likewise, right-click it and open it with the edit command, find the following codes,

define('HTTPS_SERVER', 'http://yourdomain.com/admin/');
define('HTTPS_CATALOG', 'http://yourdomain.com/');

Likewise, replace it with the codes below.

define('HTTPS_SERVER', 'https://yourdomain.com/admin/');
define('HTTPS_CATALOG', 'https://yourdomain.com/');

Save and close. Opencart SSL forwarding process is complete. Abundant Earnings.

Leave a Reply

Your email address will not be published. Required fields are marked *