Page 1 of 1
[Resolved] Page name & redirects
Posted: Tue Feb 12, 2013 2:02 pm
by Mur
I assume that Factorio was a workshoped name and you originally wanted something close to minecraft, this is shown when you try to go to
http://kovarex.com. I would suggest changing the page to point to
http://www.factorio.com
Re: [Suggestion] Website page name
Posted: Wed Feb 13, 2013 12:54 am
by rymn
This is being worked on.. later.
Re: [Suggestion] Website page name
Posted: Wed Feb 13, 2013 5:09 am
by kovarex
http://www.kovarex.com is redirected to
https://forums.factorio.com/forum now.
(
https://forums.factorio.com is now just alias for
http://www.kovarex.com)
This page can be now used as
https://forums.factorio.com so, the fact that it is hosted on kovarex.com can be hidden.
(Link to this topic as
https://forums.factorio.com/forum/vie ... p?f=7&t=44)
The problem is, when I enter this topic using this link:
http://www.kovarex.com/forum/viewtopic.php?f=7&t=44, it works as well
but all links are staying in the kovarex.com context, so when you came from this link, you will be using the kovarex.com for ever.
I have no experience with phpbb, and I tried to setup the absolute root path ($phpbb_root_path), to force the phpbb generate all links using not relative path, but absolute, but it doesn't as I would expect (it affects not only the link generation, but internal php include path as well).
If anyone knows how to resolve this issue, just let me know.
Re: [Suggestion] Website page name
Posted: Wed Feb 13, 2013 5:48 am
by Narc
Well, here's an immediate problem: the forum is setting cookies for the kovarex.com domain, and then is surprised when it's not getting the cookies back on factorioforums.com. This makes it generate all links with the session id in them, which is not a good thing, but it beats the alternative of having it forget who's logged in as soon as a new page loads.
phpBB has a lot of old and dirty code in it, and following it around is not for the faint-hearted; I haven't really worked with it much, so couldn't tell you what settings to edit, but see if running its installer helps any (after making a backup to ensure you don't lose posts, of course). Or if you want to permanently transition, install a new phpBB on factorioforums.com and migrate the posts over from here? It all depends on how you want to go with this.
Re: [Resolved] Page name & redirects
Posted: Wed Feb 13, 2013 10:46 am
by kovarex
Ok, I resloved it by using .htaccess.
It is possible to use
www.factorioforums.com/forum as well as
www.factorioforums.com/wiki, and when using the old link,
in this form
http://www.kovarex.com/forum/viewtopic.php?f=7&t=44, it is redirected to
www.factorioforums.com.
We plan on using just the factorioforums.com variant from now on everywhere.
Re: [Suggestion] Website page name
Posted: Wed Feb 13, 2013 10:53 am
by mngrif
In the phpBB admin control panel, go to Cookie Settings and change the domain. Also change the domain under Server Settings, just below it. That really should be all that's needed to change domains. Make sure your load balancer is directing traffic correctly as well. I don't know what software you're hosting with, but you want to be sure to use name based redirects.
Disclaimer: I've worked on more than a few phpBB (SMF, Drupal, others..) forums in my time.
Also, f1rst p0st!!
Re: [Suggestion] Website page name
Posted: Wed Feb 13, 2013 10:57 am
by kovarex
Valkor wrote:In the phpBB admin control panel, go to Cookie Settings and change the domain. Also change the domain under Server Settings, just below it. That really should be all that's needed to change domains. Make sure your load balancer is directing traffic correctly as well. I don't know what software you're hosting with, but you want to be sure to use name based redirects.
Disclaimer: I've worked on more than a few phpBB (SMF, Drupal, others..) forums in my time.
Also, f1rst p0st!!
Hi,
thanks for the advice, I already changed the cookie settings (I didn't know it is possible from the server settings, I downloaded some custom php script for that).