Topic: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

This would allow better search-engine indexing and consistency. (500 URIs won't point back to the same content.)

2 (edited by guardian34 2007-07-29 05:31)

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

I've actually been meaning to ask what people would think about that idea.

Edit: ... because it can be annoying to edit a post (or post a new reply, etc.) and then be redirected to a page where the topic id is not readily available.

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

It would actually have to redirect to viewtopic.php?id=y&p=z#x

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

Of course. smile

5

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

I guess that could be mis-used .. hmm

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

131 wrote:

I guess that could be mis-used .. hmm

How so?

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

How is getting rid of the "pid" URLs better considering we would need the page parameter for the "id" URL anyway?

Edit: Err. Nevermind what I just said.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Have viewtopic.php?pid=x redirect to viewtopic.php?id=y#x.

There's another issue though. viewtopic.php?pid=5#p5 is a permanent link. It will always point to the right post. viewtopic?id=3&p=2#p5 will not. It depends on the "posts per page" profile setting.

"Programming is like sex: one mistake and you have to support it for the rest of your life."