I'm having trouble to get find a mod which rewrites http:// to https:// for example if i type www.google.com or http://www.google.com it will redirect to https://www.google.com how can i do that? can anyone help, thanks
Well if I get some time soon then I will try to figure it out and then I will let you know. No Promises tho!
PHP: function redirectToHTTPS() { if($_SERVER['HTTPS']!="on") { $redirect= "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; header("Location:$redirect"); } } PHP: Apache: RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R] or RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} PHP: Peace,