PDA

View Full Version : New Forum Feature: Descriptive URLs



Matt Molnar
06-10-2008, 11:58 PM
We've installed an update that produces wordy URLs for each page rather than random numbers. You do NOT need to do anything differently. Old links will continue to work. This is mainly a cosmetic modification.

For example, the News and Aircraft Visitors forum now appears as

http://nycaviation.com/forum/news-and-aircraft-visitors-f9.htmlinstead of
http://nycaviation.com/forum/viewforum.php?f=9

and individual thread URLs will look like


http://nycaviation.com/forum/airlines-boost-fares-sharply-on-summer-nonstops-t12315.htmlrather than
http://nycaviation.com/forum/viewtopic.php?f=9&t=12315

We have tested this, but please let us know if you see anything weird in terms of site operation.

Thanks!

adam613
06-11-2008, 07:51 AM
SEO FTW...

pgengler
06-11-2008, 07:57 AM
The "LGA Daily Report" thread fails with a 404 error, probably because of the "smart quote" apostrophe. The URL looks like this: http://nycaviation.com/forum/lga-daily-report-jan-%CA%B908-t9863s135.php

(The fact that the apostrophe ends up as %CA%B9 means it's a two-byte Unicode character and not a regular ' character.)

pgengler
06-11-2008, 08:01 AM
Also, the "Mark forums read" link on the main forum page doesn't work; it just links back to the main page without actually doing anything.

Lezam
06-11-2008, 08:24 AM
Upcoming trips link doesnt work:

your-upcoming-trips,-biz-or-fun-t4835s405.php (http://nycaviation.com/forum/your-upcoming-trips,-biz-or-fun-t4835s405.php)

pgengler
06-11-2008, 08:33 AM
From the "there's a new post" e-mail notification, the provided link in that e-mail:
http://nycaviation.com/forum/viewtopic.php?f=2&t=12380&p=93407&e=93407

doesn't work. It redirects to:
http://nycaviation.com/forum/new-forum-featu-descriptive-urls-t12380.html&p=93407#p93407

which is a 404 error. Changing the ampersand to a question mark works but the behind-the-scenes rewriting should probably take care of adding a ? before any query string.

Matt Molnar
06-11-2008, 08:36 AM
Apologies for the problems. I have located fixes for all of them. Will start fixing now.

njgtr82
06-11-2008, 08:55 AM
ewr thread as well

Matt Molnar
06-11-2008, 09:06 AM
I have fixed all the bugs reported above. The only one I couldn't test was the email notifications. Anyone want to give it a go? Thanks!

pgengler
06-11-2008, 09:08 AM
Just tried it now (the jump to latest post link) and it's working now.

Matt Molnar
06-11-2008, 09:18 AM
Thanks very much for your help, everyone.

stuart schechter
06-11-2008, 09:32 AM
If only A.net could fix stuff as fast as you do. Thanks!

Delta777LR
06-11-2008, 10:05 AM
Im having problems trying to look on Spotting maps and the Calenders as well, it keeps saying error 404 TTP

PhilDernerJr
06-11-2008, 01:14 PM
Im having problems trying to look on Spotting maps and the Calenders as well, it keeps saying error 404 TTP

That's a separate issue. Looking into that now.

PhilDernerJr
06-11-2008, 02:36 PM
Im having problems trying to look on Spotting maps and the Calenders as well, it keeps saying error 404 TTP

That problem has now been fixed.

AA 777
06-12-2008, 12:16 PM
Woah, site crew members actually responding fast to issues and problems! Who woulda thunk it! What a crazy idea! [// a.net sarcasm//]

Nice work guys!! :borat:

pgengler
06-13-2008, 05:32 PM
Just tried it now (the jump to latest post link) and it's working now.

Actually, I take that back. It works for posts with one page (or where the new post is on the first page) but not when the new post is on a later page.

Matt Molnar
06-13-2008, 06:36 PM
Argh. Does it give a dead page or does it just lead to the first page?

pgengler
06-13-2008, 09:39 PM
It leads to the first page.

ngreed
06-19-2008, 09:07 AM
The icon to go to the first unread post does not work, it comes back with a 404 error.

pgengler
02-20-2009, 05:27 PM
Just tried it now (the jump to latest post link) and it's working now.

Actually, I take that back. It works for posts with one page (or where the new post is on the first page) but not when the new post is on a later page.

Just figured I'd bring this up again, since it's still an issue. Any possibility of a solution for this?

Matt Molnar
02-21-2009, 05:18 PM
Sorry about that Phil. I'm researching the solution now.

Matt Molnar
02-21-2009, 05:29 PM
Just tried it now (the jump to latest post link) and it's working now.

Actually, I take that back. It works for posts with one page (or where the new post is on the first page) but not when the new post is on a later page.

Just figured I'd bring this up again, since it's still an issue. Any possibility of a solution for this?
Update: This is now fixed. Thanks for the reminder.

pgengler
02-23-2009, 08:44 AM
It's still not working for me. I just got the "new post in thread" e-mail about the "JFK might be a real cluster this summer thread" and the new post is on page 2.

The e-mail contains this link (which should go directly to the new post):
viewtopic.php?f=9&t=15072&p=110705&e=110705 (http://nycaviation.com/forum/viewtopic.php?f=9&t=15072&p=110705&e=110705)

When I click that, I end up at:
jfk-might-be-a-real-cluster-this-summer-t15072.html-sid=931d5e580f202c510eff94aea11aeb5d#p110705 (http://nycaviation.com/forum/jfk-might-be-a-real-cluster-this-summer-t15072.html-sid=931d5e580f202c510eff94aea11aeb5d#p110705)
(which is page 1 of the thread)

Clicking the "direct to this post" link for the new post gives me this URL:
jfk-might-be-a-real-cluster-this-summer-p110705.html#p110705 (http://nycaviation.com/forum/jfk-might-be-a-real-cluster-this-summer-p110705.html#p110705)

Without knowing what's happening on the back end for the URL rewrites, it seems like it should be possible to look for a URL with a p= parameter and write it to be the "<thread title>-p<post id>" format instead of "<thread title>-t<thread id>".