I have a forum an one of the branches is private. I use a private page that is protected by a separate log-in and keep the forum hidden. It's not perfectly secure, but it works well enough for my purposes.
Now I want to make sure topics and replies inside this branch do not return in the search results. Anyone know the PHP for this?