Youzify (formerly Youzer)

How to redirect non logged in members to Login Page?

Here's how to redirect non logged in members to Login Page if they try to access Youzer Pages:

1. Go to your FTP/CPanel, and go to folder "wp-content/plugins".

2. Open the file "bp-custom.php" ( if you didn't find it just create a new one ).

3. Paste the code below :

https://gist.github.com/KaineLabs/247c696d37acd001bfb53bf44e4024e2#file-yz-redirect-bp-directories-to-login-page-php

or this if you want to include the Activity page too

https://gist.github.com/KaineLabs/0afe959594413901ad5884050fc2209f#file-yzc_redirect_all_site_to_login_page_except_home_page-php