Logged into www, not on non-www (FIXED)

Page may contain affiliate links. Please see terms for details.

colinr

Well-Known Member
Location
Norwich
http://cyclechat.net works, but says I'm not logged in. http://www.cyclechat.net says I am logged in.
Some kind of non-www redirect required perhaps?

Don't know if it would cause any problems with the site, but this in .htaccess should sort it

Code:
RewriteCond %{HTTP_HOST} !^www\.cyclechat\.net$ [NC]
RewriteRule ^(.*)$ http://www.cyclechat.net/$1 [R=301,L]
 

Shaun

Founder
Moderator
The cookie will be using "www." in front of the domain, which is why you won't be logged in without it.

Thanks for the re-write rule - I may use that once I've completed the FURL set-up.

Cheers,
Shaun :blink:
 
Top Bottom