SFML community forums

General => SFML website => Topic started by: Tank on March 12, 2011, 01:11:36 pm

Title: Forum URL
Post by: Tank on March 12, 2011, 01:11:36 pm
Hi Laurent,

could you please either
1) point the forum link on the mainpage to www.sfml-dev.org/forum/ or
2) set sfml-dev.org/forum/ as forum URL in the forum configuration?

This seems to be related to the "double login bug" I'm getting. Login happens at sfml-dev.org/forum/, redirection goes to www.sfml-dev.org/forum/, therefore the set cookie gets invalid.

Greetings.
Title: Forum URL
Post by: Laurent on March 12, 2011, 01:26:47 pm
I understand the problem but... I don't know what to do. Every URL that refers to the forum has the "www".
Title: Forum URL
Post by: Tank on March 12, 2011, 01:39:13 pm
That depends. ;) You use relative URLs in the main menu, therefore sfml-dev.org expands to sfml-dev.org/forum/.
Title: Forum URL
Post by: Laurent on March 12, 2011, 01:41:17 pm
Hmm??
Quote from: "main menu HTML code"
<a href="http://www.sfml-dev.org/forum/"
Title: Forum URL
Post by: Tank on March 13, 2011, 02:09:08 pm
Visit http://sfml-dev.org/ and http://www.sfml-dev.org/ and check the sources. The links get expanded to the domain you're currently visiting.

The easiest fix would be to redirect http://sfml-dev.org to http://www.sfml-dev.org/.
Title: Forum URL
Post by: Laurent on March 13, 2011, 07:50:13 pm
I didn't know that http://sfml-dev.org works, I use it to refer to my local copy of the website. I don't know why it works, I think it shouldn't.