Implement relative redirect and endless loop fail