Want non-members to get "Members-Only Access" page when trying to access a buddypress grou

I am using BuddyPress and limit access to groups to members. That all works fine. But Google indexes my group posts, and non-members just get a blank page on my site when they click on a link in a search engine..

I’d like non-members to get my “Members-Only Access” page if they click on link in a search page, so that I can convert them into members.

But I can’t figure out how to do that! Is it possible?