PDA

View Full Version : URL Question


Amaury
08-11-2013, 05:28 PM
If I go to kh-flare.net, I appear logged out. However, if I go to www.kh-flare.net/forum.php (http://www.kh-flare.net), I don't.

I've read about this with other users experiencing the same, and it's a setting that needs to be changed in the Admin CP, isn't it?

ForceHSS
08-12-2013, 01:47 AM
You need to add a .htaccess file so you cant remove the www

final kaoss
08-12-2013, 02:28 AM
Use this to force non www urls to 301 redirect instantly to urls with .www

Sorry but it's a little late at night, I'll let you replace the domain names in the example below.

### BEGIN CLOUDFLARE REWRITE (domainB.com to www.domainB)
RewriteEngine on
RewriteCond %{HTTP_HOST} ^video-game-chat.com$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.video-game-chat.com/$1 [R=301,L]
### END CLOUDFLARE REWRITE ###################

snakes1100
08-12-2013, 03:32 PM
cookie domain set to .kh-flare.net

Amaury
08-31-2013, 02:53 AM
Resolved.

I changed that one Cookie Path option from (blank) to .kh-flare.net.

Lynne
08-31-2013, 04:04 PM
I hope you mean Cookie Domain, not Cookie Path.

Amaury
08-31-2013, 04:19 PM
I hope you mean Cookie Domain, not Cookie Path.

Yeah, that one. Sorry.