Articles on: Web Hosting
This article is also available in:

How to force my site to display in HTTPS?

We provide LetsEncrypt SSL certificates as standard, so you can force HTTP to HTTPS redirection.


Before doing so, verify that your SSL certificate has been generated by visiting your site with https:// in front of its address. If you have an SSL certificate issue, you can refer to the article "How to force the regeneration of my SSL certificate?".



Warning: cPanel modifies the .htaccess file to enable the redirection, so be careful not to overwrite it, otherwise the redirection will stop working. It is also possible that your CMS or your current .htaccess file may block this modification.

>

In that case, you can add the following lines at the top of your .htaccess file:

>

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

Updated on: 14/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!