HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to enable https redirection using Hostseo SSL plugin for Opencart

To enable https redirection follow these steps:



NOTE: we recommend making a backup of your website before proceeding with any changes. If your Opencart was installed using Softaculous, you may follow this guide to backup your installation.


1. Go to cPanel > Exclusive for Hostseo customers section > Hostseo  SSL:




2. Next, click Installed via plugin and switch HTTPS Redirect toggle on.

NOTE: HTTPS redirect feature is available if the SSL certificate was installed via the Namecheap SSL plugin only. The certificate status must be 'Active'.





After creating the redirection, you may see a mixed content warning (no green lock) or the website may appear broken. This indicates that the page contains insecure resources.


To fix mixed content errors and get the green lock icon:

Go to cPanel > Files section > File Manager:




2. Navigate to the root folder of your domain (by default, it is public_html for the main domain and addondomain.tld for the addon domains). Right-click on the config.php file > Select Code Edit:




3. Change http to https in //HTTPS define('HTTPS_SERVER', 'http://yourdomain.com/') and save the changes:




4. Next, go to admin folder and edit the config.php file there. Change http to https in //HTTPS:

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

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





Save the changes.




That's it!




Need any help? Contact our HelpDesk

 

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 1
2345678
9101112131415
16171819202122
23242526272829
30 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional