Private pages are showing on the search page of my website

Hi,

My private pages set to level (restriction required #1) are showing on the search of my website when user is not logged in. People can view restricted private content. It doesn’t make them register.

Go to s2Member -> Restriction Options -> Alternative View Protection and set that to ALL.

Hi Tim, thank you so much I have it set up to ALLl and it is still showing the content :frowning:

In that case, have you tried clearing caches in case it’s showing from sometime before being hidden? (You also need to check caching by your host, such as Varnish.)

Otherwise, I think you need to check for a plugin conflict or maybe some errant .htaccess rule.

Thank you Tim, I also noticed that the private forum (BBpress) threads are showing on search engines, Google, Bing… how can I fix this plrase help!

Mariana, when you say “private” forum, what is supposed to make them private? Is it bbPress itself?

I setup BBpress with s2member to be available under members only (restriction #1) but these threats seem to be being indexed

Have you created a Membership Options Page?

Yes, I have a members option page setup with paypal and stripe. The forum is set to be viewed only by paid members, it’s a private community the big issue is that the private conversations are being indexed by google.

Same as to the search inside my site is on the header available for any user who would land on the page but when they search for a video on the site it shows my private content (videos) I thank you so much for all your help :slight_smile:

Are the videos in the s2Member protected folder?

The videos are being emabeded directly from vimeo in which they are “Private”.

oh and each and every video is a post with the #1 restriction as well.

The videos are being embedded directly from vimeo in which they are “Private”.

Then they aren’t controlled by s2Member at all. It doesn’t matter that the post is protected. If you want s2Member to protect the file, then it must be stored in the s2Member-protected folder (or on Amazon S3). Otherwise it’s up to Vimeo to protect the video.

The videos at vimeo are set to private if you search for it you can’t find it, and they need and have a setting to be able to view them through my one and unique website. I thought s2member controled the privacy of my pages/post in my website now I’m confused :blush:

You need to understand how WordPress works. The only stuff that’s actually “on” a post or page is the text you have typed there. Other things, like videos, aren’t really “on” the page or post at all. The page or post simply contains a link to them.

So when s2Member protects the post or page, it is protecting the text – and the text only. If you want it to protect any videos, or other files that are linked from the post or page, you have to put them where s2Member can protect them. That is in the dedicated s2Member folder, which can be on your site or at Amazon S3. It can’t protect links to Vimeo because Vimeo is running outside of WordPress.

So Vimeo protects files on Vimeo if you choose the right setting, and s2Member protects files in WordPress if you put them in the right folder.

Currently, you have the right setting for Vimeo, but that’s not the right folder for s2Member. (No other WordPress plugin will be able to protect links to Vimeo either, for the same reason: it’s not on WordPress.)

So you need to re-think what you are doing.

You are the best, thank you so much! you were right I just had a couple of pages with old url links open not protected, thank you for all your help s2member did the job.

Great! Glad I could help!