Fix url redirection.