Fix redirections.