[Resolved] Page name & redirects

This subforum contains all the issues which we already resolved.
Post Reply
Mur
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Mon Feb 11, 2013 3:52 pm
Contact:

[Resolved] Page name & redirects

Post 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

User avatar
rymn
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Feb 12, 2013 12:14 am
Contact:

Re: [Suggestion] Website page name

Post by rymn »

This is being worked on.. later.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Suggestion] Website page name

Post 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.

User avatar
Narc
Filter Inserter
Filter Inserter
Posts: 278
Joined: Mon Feb 11, 2013 7:25 am
Contact:

Re: [Suggestion] Website page name

Post 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.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Resolved] Page name & redirects

Post 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.

User avatar
mngrif
Fast Inserter
Fast Inserter
Posts: 173
Joined: Wed Feb 13, 2013 10:44 am
Contact:

Re: [Suggestion] Website page name

Post 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!!
My Silly Factorian Tricks
<_aD> OBSERVE SIGNAL ASPECT BEFORE CROSSING TRACK

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Suggestion] Website page name

Post 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).

Post Reply

Return to “Resolved Problems and Bugs”