redirect all http:// requests to https:// (SSL) |
[eluser]Kobus M[/eluser]
[quote author="InsiteFX" date="1329168565"]It goes in the same folder that your index.php file is in! [/quote] Hi, I have done that, but it doesn't work as I expect. My site styling is broken. My .htaccess where my index.php is, contains this (and only this): RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.impero.co.za/$1 [R,L] See the difference at www.impero.co.za with and without https. On https it looks fine now, but without https, not. Problem is, people will most likely type impero.co.za instead of www.impero.co.za or https://www.impero.co.za. I should probably also cater for when they do not add the www? Sorry - I know this is not strictly a CI issue, but I do not know how to do this, and my site is based on CI, and currently it is broken, so I hope you can help. Thanks! Kobus |
Welcome Guest, Not a member yet? Register Sign In |