Make all your BuddyPress powered community private. You can select which pages you want to exclude from protection so that only selected pages come visible to logged out users. For example: If you run a blog within your BuddyPress site then keeping only your blog public and other things private is possible or you want to make only registration and home pages public so that people can come in and join your site without seeing what is happening there inside.
I read many article for doing this plugin but most of the articles were written for the search engines no for the readers. Making your BuddyPress site is very easy. Its a job on steps clicks:
- Install and activate Private BuddyPress
- Visit Dashboard -> Settings -> Privacy and select the pages you want to exclude.
You can select from Front page, Blog pages (posts, archives and non-buddypress pages) and Registration. Now next time a non registered user trying to visit your site’s private pages will get redirected to login page.