Force SSL

Force SSL (https://) via the .htaccess

RewriteBase /
RewriteEngine on
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://%{HTTP_HOST}$1 [R=301,L]

Last updated

Copyright 2024 - jseidl.at Julian Seidl