As of now I’d like our working group site to be visible only for logged in users, so I’d like to redirect from the home URL to the login page, if the user is not logged in yet. From what I understand from web search, people use a template and
if ( !is_user_logged_in() ) {
auth_redirect();
}
Is that a good way to implement it in CBOX, or are there any better ways? I am not familiar with web programming, and I don’t know it there are problems with updates if you use user-specific templates.
Thanks for any help!