Howto - do 8.4.4 https secure?
Permalink
Hi:-)
Somewone hwo knows how to do my webpage https secure - so it be https://in the adressfield in web-browsers and not like now http:// ??????
regards
Geir Johansen
Somewone hwo knows how to do my webpage https secure - so it be https://in the adressfield in web-browsers and not like now http:// ??????
regards
Geir Johansen
This worked for me - just add a file called .htaccess to /htdocs (your root directory that serves webpages - basically the same directory that has index.php)
# Fromhttps://simonecarletti.com/blog/2016/08/redirect-domain-http-https-w...
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^http://www.%1%{REQUEST_URI} [L,NE,R=301]