Setting redirect.