Redirect from page if not logged in
Hello there! I’ve been searching for a code which actually works for me, and sadly, without any luck..
I want to redirect the users from Member page to Login-page if they are not logged in. I can’t add it to my bp-custom.php because it does something weird to my theme so that php file is gone. So a function i can place in the functions.php or in the plugin “Custom CSS & JS” is the right solution. (Im using REIGN Theme)
Thanks guys! Hopefully someone can help me.
- You must be logged in to reply to this topic.