RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
You an add the following code to the top of your .htaccess file to redirect all http traffic to https
- 33 Els usuaris han Trobat Això Útil
