Hide Homepage

Hey, I’ve searched everywhere for this and I’ve came up with nothing… I was wondering whether there was a way to hide the home page for a logged out users? I’ve tried a bunch of plugins, and none of them have options for it… is there any code? Or is there a way to create a redirect so when logged out users visit the home page, it takes them to a different page of my choice? Thanks in advance

Seeing code at the top of a page is usually a result of improperly formatted opening/closing tags. Here are some things to check in your bp-custom.php:
– Make sure you’ve copied the code exactly as in the post above.
– Check the double-quotes; make sure they are straight quotes ( ” ) not curly ones.
– Be sure your bp-custom.php file content begins and ends with the proper tags: an opening “ tag at the very bottom.

The part of the code where you put your own URL is where you see `”/about”`. Change that to the page slug you want to redirect to (the page slug is what comes after your domain name). For example, if you want to redirect to http://example.com/my-redirect, change it to `”/my-redirect”`.