Avoid too much redirections