Disable Member page to non-logged in users
I want to keep my site as private as possible.
I would like to disable access to non-logged in users to the members directory or any other profile related pages. If they do try to access then they get re-directed to homepage.
Please could you send me the php I need to add to my functions.php to achieve this??
- You must be logged in to reply to this topic.