Skip to content

Lock Down Your Community

This walkthrough makes a BuddyPress site private to logged-out visitors in a few steps.

In wp-admin go to WB Plugins, then Community Pro. Open the Visitor Restrictions tab.

  • Turn on Lock BuddyPress components and tick the components visitors should not reach (Community Members, Activity Streams, Profile, User Groups).
  • Optionally turn on Lock WordPress pages and pick specific pages.
  • Optionally turn on Lock custom post types and pick post types.

Under What Visitors See Instead, pick one:

  • Use built-in form - show the plugin’s login and registration form with a message you write in the editor.
  • 3rd party plugin shortcode - paste a login-form shortcode from another plugin.
  • Redirect to a page - choose a page to send visitors to.

Click Save Settings. Then open the site in a private browser window (logged out) and visit a locked area. You should see your login prompt, message, or redirect instead of the content. Locked content is also hidden from search while logged out.

Once the front door is locked, decide what signed-in members can do: