Mar, 2015
Restricting Access to All Content
If you're looking for the ability to restrict all, or most of your content on your site to registered / paying Users, the usual methods for restriction probably won't seem useful to you. s2Member allows you to set up restrictions on a page-by-page basis, and that's typically all that's required in 95% of installations.
In installations where Users should only be able to access your entire site if they've registered and/or paid for access, URI, Category, and Tag Restrictions are your friend.
s2Member's Membership Options Page is always unrestricted, and even setting your entire site to be restricted won't change that. This is the Page that Users are sent to when they attempt to access restricted content. You can use that to your advantage.
For example, setting any field within Dashboard -> s2Member -> Restriction Options -> URI Restrictions field to /
in your Dashboard will prevent any URL within WordPress on your site from being accessed without a User at least being registered and logged-in on your site.
Simiarly, you can use the keyword all
within the Post and Page Restrictions section to block access to all Posts/Pages (with the Membership Options Page being an exception).
See: Dashboard -> s2Member -> Restriction Options -> Post Access Restrictions