Explore information related to cpanel force https
Force HTTPS using .htaccess - Step by step guide ?
This article covers how to edit your .htaccess file and redirect all HTTP traffic to HTTPS which is the safe version of your website.
How to configure HTTPS for WordPress websites using .htaccess ?
1. Login into wp-admin and go to “Settings -> General”. Make sure the URL have https.
2. From the file manager, edit your .htaccess and replace the WordPress rules by the following code:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
# Rewrite HTTP to HTTPS
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Note: Replace domain.com by your domain name. Make sure the position of the https Rewrite rule is same as mentioned above.