Added support for redirect ur.