From http://stackoverflow.com/questions/3789462/redirecting-an-old-url-to-a-new-one-with-flask-micro-framework