Simpler YouTube-like viewtopic URLs

https://www.phpbb.com/ideas/
Post Reply
Author:
Louis7777
Posted:
Wed Oct 18, 2017 6:59 am
Rating:
Status:
New
Ticket:
PHPBB3-15060
Ideas Bot
Registered User
Posts: 342
Joined: Sat Oct 13, 2012 10:06 am

Simpler YouTube-like viewtopic URLs

Post by Ideas Bot » Wed Oct 18, 2017 6:59 am

It would be nice to have topic URLs like the following:

https://www.domain.com/viewtopic.php?t=50901

The above is very readable and means "viewing topic with id 50901", it has a more appealing format for sharing, and it is similar to how YouTube video URLs are:

https://www.youtube.com/watch?v=dQw4w9WgXcQ

"Viewing video with an id of dQw4w9WgXcQ"

The canonical URLs are already in the suggested format, however, those are only presented at the users of search engines and not to the users of the forum who see a slightly more complex format that has an "f" variable (it's the id of the topic's forum) in it, like this:

https://www.domain.com/viewtopic.php?f=126&t=50901

The need for the "f" parameter has been discussed in the past and the conclusion was that it is only needed for the "who is online" list of each forum. Simply put, without it in the URL, a user does not appear in the list...

...and that's a bug because those users who are visiting through the canonical URLs won't appear and so they will be ghost users:

https://tracker.phpbb.com/browse/PHPBB3-15060

Thus, by dealing with the above bug and removing the "f" parameter we not only fix a bug but we also end up with prettier, more readable URLs.

Post Reply

Return to “phpBB Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest

cron