latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Protecting only a few pages with S2Member

Home Forums Community Forum Protecting only a few pages with S2Member

This topic contains 7 replies, has 2 voices. Last updated by  Jason (Lead Developer) 3 years, 10 months ago.

Topic Author Topic
Posted: Monday Feb 11th, 2013 at 7:24 am #41397

Hi – I am new to S2Member and just purchased the Pro Version but I am having some trouble with a simple configuration.

I need to allow EVERYONE to see most of my pages and only protect about 3 pages on the site that are for Members Only. So – when an internet user comes to my site, they should have access to everything BUT those 3 pages. Is this possible with S2Member? I can’t, for the life of me, figure this out. I don’t want to force EVERYONE to register, only the ones who want to purchase a membership to see the protected content.

Hopefully I explained it clearly enough.

Thank you in advance for any help the community can provide. S2Member looks awesome, I am just stuck.

*** To Add to this ***
Whenever I set my Membership Options Page in the Options of S2Member, my website is no longer accessible. No pages show up, it just comes back and says it can’t find the website. Now I am even more confused. I want to restrict only a few pages of the website using S2Member. Please help! Thank you in advance!

Regards,
JR

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Monday Feb 11th, 2013 at 5:40 pm #41421

Hi – I was wondering when I will see a response to this post? I see some created and posted after I posted this that have replies. Just trying to get this plugin working properly so it doesn’t mess up my site.

Thanks,
JR

Posted: Monday Feb 11th, 2013 at 10:58 pm #41500
Staff Member

Thanks for your inquiry. ~ We appreciate your patience :-)

To protect only a few Pages , please see this section of your Dashboard.
Dashboard -› s2Member® -› Restriction Options -› Page Access Restrictions
Or, when you create or edit a Page or Post, you will find Restriction Options for that Page or Post.



Posted: Tuesday Feb 12th, 2013 at 9:53 am #41561

Jason,

Yes I did find this. That is perfect…However, as soon as I set a Membership Options Page my website is inaccessible. I can’t even get to the home page. Says it is not found. Any help on this?

Thanks.

Posted: Thursday Feb 14th, 2013 at 11:23 pm #41756
Staff Member

It sounds like you might have your Membership Options Page set as your Home Page, or perhaps there is another Content Restriction conflict in your Posts/Pages. Please see: Video » s2Member (Content Restriction Trouble?)

Details received. Thank you!

Investigating now.

Posted: Friday Feb 15th, 2013 at 12:19 am #41762
Staff Member

Thanks for your patience.

I ran the s2Member® Server Scanner on your installation and I found the following issue.

[NOTICE] WordPress® Home/Site URLsdismiss?
s2Member® recommends that your WordPress® installation be configured with a matching HOST name. This can be changed in the Dashboard, under: WordPress -› Settings -› General -› WordPress/Site URLs. Your current configuration does NOT match: hauntedattractionassociation.com

This is the underlying conflict that is causing a problem for s2Member’s routines on your installation. It looks like you’ve configured WordPress® with a fake domain name while testing.

Posted: Friday Feb 15th, 2013 at 8:09 am #41867

JAson – Thank you for the reply. So – what do I do about it for testing right now? Change those URLs to match the URL without the previewdns.com on the end for testing? I didn’t quite get what the fix was out of your reply.

Thanks again in advacne for your help..

JR

Posted: Friday Feb 15th, 2013 at 8:24 am #41868
Staff Member

You could either go live with the site (removing the previewdns portion from your URLs).

Or you might consider modifying this environment variable. Currently, your server reports that $_SERVER['HTTP_HOST'] does NOT include the previewdns portion on the end. If you access the site from the previewdns, it needs to include that. In your /wp-config.php file, add this line at the top:

$_SERVER['HTTP_HOST'] = 'hauntedattractionassociation.com.previewdns.com';
Viewing 7 replies - 1 through 7 (of 7 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.