Restricted Access Issues

I have a forum that has 3 levels of s2 membership.
Level 0 is for non paying members.
Levels 1 and 2 are for paying members.

Recently I have noticed that the Level 1 and 2 areas of the forum will often send you to the membership options page saying you do not have permission to view this part of the site when users click on a link from an e-mail.
The same users can go to the site and using the menus navigate to the pages in question with no issues, but when they try to click a link from an e-mail (such as a bbpress topic reply notification) they get to the membership options page.

Not being a coder of any sort I have determined that in the vast majority of cases that clicking an URL such as this fails:

https://thewargameswebsite.com

Where as clicking a link this will almost always work:

https://www.thewargameswebsite.com

In the ones that fail, f12 on Chrome shows a ssl issue with s2 membership and paypal about the certificate not being trusted.
In the ones that work there is no such error.

I am at a loss as to what is happening, and the paying customers are getting a bit vexxed…

If anyone can help I am willing for them to create a free account and I will boost it up to level 2 so they can test the issues.

Michael.

https://www.thewargameswebsite.com

In the WP backend, go to Settings -> General. What have you set as your WordPress address and site address?

both set as:

https://www.thewargameswebsite.com

Oddly it has been fine for ages, just the other day I noticed the problem.

So things are working as they should. If you want https://thewargameswebsite.com to work, then you need to change both those settings (in which case using www won’t work). Or else you could add something to your .htaccess file to have them both work. If you want to do that, then ask your host for the appropriate code.

But if the site only uses www. in the URLs, how are people getting links without the www in them?

Those settings don’t mean that your site only “uses” www. They mean that only links that include www are guaranteed to work.

I suspect that you have set (some of?) your links incorrectly.

I would not know how to set them, I just let it do what it does…
:expressionless:

How can I check what all the URLs are on the site?
Sounds like a lengthy process…

Well, there is a way using a command called grep but it is not something I can explain here. Maybe your host might help.