Intelligently handling old, bad URLs