Welcome Guest, Not a member yet? Register   Sign In
redirect all http:// requests to https:// (SSL)
#6

[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


Messages In This Thread
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 09:37 AM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 10:19 AM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 12:44 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 02:21 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 02:29 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 02:45 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 02:57 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 03:20 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-13-2012, 10:39 PM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-14-2012, 03:36 AM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-14-2012, 04:08 AM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-14-2012, 04:40 AM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-14-2012, 09:30 AM
redirect all http:// requests to https:// (SSL) - by El Forum - 02-16-2012, 06:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB