Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

When someone links to a question, at some time in the future the question that has been linked to may get moved to a more appropriate site. I have come across this several times while finding answers on the SO sites. When this happens, all you get is the standard SO 404 error message (case in point, the link in the comment from this answer). It would be nice if the SO engine could recognize that the question once existed but has been moved and automatically redirect to the actual question.

share|improve this question
Definitely a good idea. – Laurent Etiemble Dec 9 '09 at 15:10

So when a post gets migrated, the engine would full-text-search it's entire database looking for that URL fragment (up to the title, which is unnecessary)?

I like the idea; it'd be nice to keep everything clean. I just can't imagine that this would be good for performance, though.

share|improve this answer
It only needs another field in the database, with the URL of the new location. – Brad Gilbert Dec 9 '09 at 16:26
It took me a minute to figure out (I was in the midst of writing a comment that was essentially "WTF"), but I like your way of thinking for the solution. Don't fix the broken links, fix the link target and redirect automatically. I like that, simple, performant, good answer. – John Rudy Dec 9 '09 at 17:19

If the question is moved, then there will be a stub with a link to the migrated question.

If the question is deleted (as is the case here) you'll get the 404 error, unless you're a 10k+ user.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .