Force Log in to view a page August 17, 2022 by Tarik Billa In a template file, this should do it: <php If (!is_user_logged_in()) { wp_redirect( "start/login" ); exit(); } ?>