fix some redirection problem

short url (http://wh.gov/iO3vF) will cause the redirection error.