Welcome Guest, Not a member yet? Register   Sign In
strange session behaviour
#11

[eluser]InsiteFX[/eluser]
That is not a CI error! That is the way the web works!

To fix it you need to use a .htaccess file. Get rid of www
Code:
RewriteCond %{http_host} ^www\.your_domain\.com [NC]
RewriteRule ^(.*)$ http://your_domain.com/$1 [R=301,NC]

InsiteFX
#12

[eluser]cyrigniter[/eluser]
ok you must be right

should I get rid of the www. or rather append it everywhere ?

thanks a lot
#13

[eluser]InsiteFX[/eluser]
If your want to force all to www use this:
Code:
RewriteCond %{HTTP_HOST} !^www.your_domain.com$
RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]

InsiteFX
#14

[eluser]cyrigniter[/eluser]
many thanks !




Theme © iAndrew 2016 - Forum software by © MyBB