Fix redirected URLs