Serving HTTP and HTTPS from one installation

An easy solution is to use .htaccess rules.

#Redirect HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Leave a Comment

error code: 523