Apache: redirect to SSL example

Published by

Posted on June 02, 2018

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(w*)$ https://www.<domain>/$1 [R=301,L]
RewriteRule ^(.)$ https://www.<domain>/$1 [R=301,L]


About the Author