Tipps rund um das GoLive von Websites

  GoLive, Webtechnologie

Verwendung von SSL/https erzwingen

Füge diese Regeln ganz oben in der .htaccess Datei ein.

#BEGIN Force https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
</IfModule>
#END Force https