Tagged: rewrite condition

How to redirect my website to be opened through HTTPS? 0

How to redirect my website to be opened through HTTPS?

In order to redirect your website to be opened through HTTPS, you should add the following rewrite rule in your .htaccess file:  RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule .* https://www.domain.com/%{REQUEST_URI} [R,L] This will redirect...