get redirect status working