Skip to:

Everything private except a few pages?

  • Hello,

    I would like most of my site to be hidden from everyone that is not logged in. I have tried a few plugins but they dont work because I need my Terms of Service page to be public for those that are trying to register but want to review the terms.

    Is there a way I can everything private except for my sign in, register and terms of service page?

    I would appreciate any help.


Viewing 2 replies - 1 through 2 (of 2 total)

  • @ChrisClayton


    Here ya go. Add this code to your bp-custom.php file.

    Just add “!is_page( PageID )” (with PageID as your tos page’s id) under “!bp_is_activation_page()”

    Thanks for the help!

    I added that code to bp-custom.php file but then when i go to my site it gives me a redirect loop error. Any idea why this is happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Everything private except a few pages?’ is closed to new replies.
Skip to toolbar