Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
yazerty
Registered User
Posts: 22
Joined: Sun Dec 12, 2004 5:26 pm
Location: France
Contact:

Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by yazerty »

Hello,

I 've seen that posts' url changed.
phpbb2 : viewtopic.php?t=25613
phpbb3 : viewtopic.php?f=3&t=25613

If I 've understood, in phpbb 3 we could specify specific rules for a forum in particulary ? That 'd be pretty cool :).

But what about the redirection of the old url to the new ones ? Via a .htaccess :-?

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by Eelke »

AFAIK the old URLs work just fine, the f=xxx part is optional. It is just an indication from what forum the topic was opened (which in phpBB 3 may vary because of global announcements, and because it can have implications for the template to use - different templates for different forums).

yazerty
Registered User
Posts: 22
Joined: Sun Dec 12, 2004 5:26 pm
Location: France
Contact:

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by yazerty »

Yes, but if you have an old post with only ?t=xxxx, it will not include f=xx in the url.
So, how phpbb will know what forum it is and what it has to do (specific template for a forum for exemple) :- ?

code reader
Registered User
Posts: 653
Joined: Wed Sep 21, 2005 3:01 pm

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by code reader »

yazerty wrote: Yes, but if you have an old post with only ?t=xxxx, it will not include f=xx in the url.
So, how phpbb will know what forum it is and what it has to do (specific template for a forum for exemple) :- ?

it seems to be doing fine in this case. it finds a forum in which the message appears, and it shows it in the context of this forum.
in most cases, there is only one such forum. in all the "old" messages and "old" links (i assume converted from phpbb 2) there can be only one forum per message, as phpbb2 does not sport global announcement.

i didn't test the extremse: what would happen if a message appear in several forums, and the user only has access to some of them, will olympus always find a legal forum, or will you get a "no access" message in some cases?
it needs some testing, or deeper digging in the code. i dont know the answers to this question. in any event, in the standard case, where the message appears only once, olympus seem to find the right forum every time.

of course, if you are willing, the best thing would be to test as many cases as possible, and report any problem you may find at the bug tracker. that's the whole idea of a beta release.

have a good one.

Dark_Génova
Registered User
Posts: 12
Joined: Mon Mar 15, 2004 3:07 pm
Location: Paris, France

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by Dark_Génova »

Hmm there is a problem with this url change : duplicat content, referencing on google will change a little. I hope phpBB3 will prevent this bug with inner HTACCESS or REWRITING.

@+

yazerty
Registered User
Posts: 22
Joined: Sun Dec 12, 2004 5:26 pm
Location: France
Contact:

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by yazerty »

And in case we rewrite a phpbb with friendly urls (like vt4845-title-of-topic.html), will it still work fine ?
Dark_Génova wrote: Hmm there is a problem with this url change : duplicat content, referencing on google will change a little. I hope phpBB3 will prevent this bug with inner HTACCESS or REWRITING.

@+


That's the reason why I 'm looking for an "official" answer. I posted this topic, because I didn't find any topic talking about that (perhaps missed ?).

code reader
Registered User
Posts: 653
Joined: Wed Sep 21, 2005 3:01 pm

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by code reader »

Dark_Génova wrote: Hmm there is a problem with this url change : duplicat content, referencing on google will change a little. I hope phpBB3 will prevent this bug with inner HTACCESS or REWRITING.

@+
i don't believe there is any problem with this, google-wise.
in any event, it is definitely NOT a bug. i don't know why do you call it a bug. i dont think anything needs to be done with either htaccess or rewriting.

yazerty
Registered User
Posts: 22
Joined: Sun Dec 12, 2004 5:26 pm
Location: France
Contact:

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by yazerty »

I don't say there is a problem. I'm just wondering about it.

User avatar
Eelke
Registered User
Posts: 606
Joined: Thu Dec 20, 2001 8:00 am
Location: Bussum, NL
Contact:

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by Eelke »

Code Reader was addressing dark genova, so no need to defend yourself, yazerty ;)

I understand why this might be a problem with Google, since I've always been told Google penalizes multiple URLs leading to the same content, which would be the case here. I am curious to know why it would in fact *not* be a problem. I can imagine the penalty only comes into effect when there is a very large number of URLs pointing to the same page (so the conclusion that someone is trying to mislead Google - or search engines in general - seems reasonable and that Google will simply ignore multiple URLs for the same content that only vary in details.

code reader
Registered User
Posts: 653
Joined: Wed Sep 21, 2005 3:01 pm

Re: Url change from ?t=xxxx to viewtopic.php?f=xx&t=xxxx

Post by code reader »

i don't believe that adding parameters ("&field=param") to the url is considered by google "different url".
if this was really the case, any site i ever heard of has this problem. (you can always add (&highlight=name, or even &junk=value to any phpbb "standard" url, and get to the same content).

Post Reply