Redirecting a bad url to the correct one