Hacker News new | ask | show | jobs
by tartrate 2207 days ago
I didn't either, but now I do.

The site is suggesting a best practice to 302 FOUND-redirect you from:

    <version x>.site.com
to:

    <version x-1>.site.com
Until it goes beyond the oldest version in which case you end up with a 404.
1 comments

I’d like to be able to show any eventual 404 from the current version of the site though, which means there may need to be a wrapper around the terminal site (or more reasonably, code that runs locally on the server to find the right page URL and 302 directly to that rather than a client round trip for every version searched).