After installing an SSL certificate, you should force your website to always use https://.
Option 1: Using Your Website (Recommended)
If you are using WordPress or another CMS, enable HTTPS in the site settings or use a plugin.
Option 2: Using .htaccess
Add the following code to your .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Image Placeholder: File Manager showing .htaccess file being edited.
Important
- Make sure SSL is working before enabling redirect
- Incorrect rules may break your website