How to Force SSL (add https) in cPanel with .htaccess to Your Website. The video will show You how web browsers will be automatically redirected to secure version (https) with SSL protection. It is not enough to have SSL installed. You need to make and edit .htaccess file in Your hosting control panel to have Your website load secure version each time.
Code:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
For Wordpress websites tutorial: • How to install SSL certificate to Wor...
My Webhosting service: https://karltech.duoservers.com/
If I was helpful, please consider supporting my channel by buying me a cup of coffee: https://www.paypal.me/go4bigk
Thank You.
❤️
Karl.
Subscribe here:
https://goo.gl/hjiZjQ
My Most Recent video:
https://goo.gl/P1w9c3
My Most Popular Upload:
https://goo.gl/zNjDJB
_______________
Don't click here:
http://bit.ly/2G9mwnN