While I was looking at the new feature I discovered (post timeline), I took a look at all the features that come with a post:
- See post revisions using
https://stackoverflow.com/posts/PostId/revisions
; - See post timeline using
https://stackoverflow.com/posts/PostId/timeline
; - (Maybe other features that I don't know about yet).
Given that, I'm a bit surprised that the URL https://stackoverflow.com/posts/PostId/
leads to a 404 and I find it a bit misleading...
Shouldn't it redirect to the corresponding Q/A? Or indicate that the post exists and provide links to the features named above?
q/
anda/
directories seem to automatically re-direct so I don't see why theposts/
one can't do that also.q/
,a/
, andu/
exist only as redirects, they don't have any other purposes likeposts/...
.401 NOT AUTHORIZED
not a404 NOT FOUND
./q/
and/a/
are not directories; they're routes. In fact, almost all URLs you can see and touch on the site are routes and do not correspond to any real path structure. Thus, the main reason/posts/$postId
404s is simply that there's no route for it.