redirect all http:// requests to https:// (SSL) |
[eluser]Kobus M[/eluser]
[quote author="CroNiX" date="1329162283"]Put before CI rules... RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L][/quote] Hi, In which .htaccess must this go? I do not have .htaccess in my site root (base_url location), only in sub folders with "deny from all" entry. Thanks in advance, Kobus Edit: Just wanted to add, I want to run my entire site in HTTPS, not only some pages. No distinction necessary. Thanks! |
Welcome Guest, Not a member yet? Register Sign In |