Simple HTTPS redirect using .htaccess (WEB)
PROBLEM: I have SSL certificate installed, but web is still on http instead of https. SOLUTION: Put simple code to your .htaccess file. [?] How secure is HTTPS today? https://www.eff.org/deeplinks/2011/10/how-secure-https-today //Put this code into your .htaccess file
1 2 3 |
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.filipniko.cz/$1 [R,L] |
Credit: https://serverguy.com/servers/redirect-http-to-https/