Step-by-step instructions to redirect from HTTP to HTTPS

Linux & cPanel Redirect HTTP to HTTPS – .htaccess filE Redirect To HTTPS

 

RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  • how to redirect from http to https using htaccess
  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

Can I purchase SSL certificates through you?

Absolutely. Take a look here.

If I purchase an SSL certificate from you, will you install it?

Yes sure! Normally it will automatically install within 24 hours, however if it doesn't, please...

Do you offer free SSL certificates?

Yes, we do. If you have a web hosting plan with us, the cPanel control panel will attempt to...