There was a problem loading the comments.

How do I redirect http to https?

Support Portal  »  General  »  Viewing Article

  Print

If you want to redirect http to https for your website, you can insert the following code in the top of your .htaccess file:

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

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA
© PerfGrid