Adding redirect and global redirect