How to Enable HTTPS in Thelia

Updated on Jun 11, 2019

When you try to make a website to work with https, there is a certain warning that can occur. which says: "Your connection is not private."

The reason for the warning message is that you do not have an active SSL certificate for your domain. This is required so you can access your website with the secured https protocol. To have an SSL certificate on your domain, you need to consider two main things:

1. You need to have a valid SSL on your domain. You can get such by accessing your Client Area -> Products -> Order -> Product Addons. Note that the SSL is a paid service and if you decide to purchase it, our team will configure it for you.

2. You need to force the use of SSL on your website. To complete that, you need to access the location of your Thelia website on your account. You can do so via FTP or directly using the File Manager service within your cPanel account. Locate and open the .htaccess file for editing and enter the following lines at the top of the file:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/web/$1 [R,L]

For more information on how to configure that, you can also review our excellent Enable SSL in Thelia tutorial, which will provide more detailed information on the process for you.

We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!

SSD Cloud Hosting

  • Free Domain Transfer
  • 24/7 Technical Support
  • Fast SSD Storage
  • Hack-free Protection
  • Free Script Installation
  • Free Website Transfer
  • Free Cloudflare CDN
  • Immediate Activation
View More