Block category from robots

Before I begin testing I’d like to block the category where I’m creating the protected pages and posts, from being indexed by robots like google. Can I do that in s2member? I know how to block a folder in robots.txt but a category isn’t really a folder is it?

This is what I’d do if it were a folder:

User-Agent: *
Disallow: /test/

thank you!

Anything protected using s2Member won’t be indexed. Just make sure you have Alternative View Protection (in Restriction Options) set to Filter ALL WordPress queries

thank you! How do I protect a category in s2member?

and Is there perhaps a manual anywhere? I just downloaded the plugin and I’m totally lost. I plan to buy the pro version.

The manual is in the backend. Just read through the sections on every page. They explain each section as you go. Restriction Options is the page covering protections.

thanks, so any category I set from level 1 to 4 will never be indexed – just at level 0 it will be?

My top priority is to offer page 1 of say a 10-page post (including posts that are not in a restricted category) and then they pay to continue to page 2 as described here:


“With other plugins it’s usually based on the membership level, while here [s2member] every user can choose every page/post and pay for it to be unlocked.”

Please can you tell me how to do that?

No. It’s up to you. You tell it the ID of the categories you want protected, and at what level. The easy way to get the IDs is to use a plugin like Reveal IDs.

Sorry, but this isn’t Pro Support; just a community of users. You need to read Restriction Options and PayPal Buttons

Hi - thank you! I can see the ID # in the browser window.

One last question - are you saying that even when I set the level to 0, that category will still not be indexed? That would be very useful to me – to allow everyone into a category except google.

Yes, you can get the ID like that. Reveal Codes adds another field to the list of posts, categories, etc, so that you don’t have to go to each one. But if you’re happy with how you’re doing it now, that’s fine.

And yes, level 0 is still protected from Google or anyone else not logged in. It’s the only level that, by default, is accessible to free subscribers.

thank you! I’m so excited to have found s2Member after days of research. My impression is, your plugin is really fast compared to Wishlist Member.

It’s great that you like it. I too have found it to be much faster than other membership plugins. In fact, that’s one of the primary reasons I use s2Member.

But I’m afraid that I can’t take any credit for that. I’m not one of the s2Member developers: just a very satisfied user.

1 Like