Correction of redirection urls