Create redirect function #31