Check for redirect