I am using the code snipet you advise to block access to all the BP and bbPress components, but allows visitors to see the blog. It seems that this code re-directs back to homepage. I am interested in having visitors re-directed to another page, in my situation, to my sign up page. Can you advise where in the code I can make such adjustment as well as advise the code to use, thanks.