S2member permission issues

Hey There,

I have some permission issues when trying to access some pages, especially downloadable files.
I think s2member causes these problems, but I’m not 100% sure about it. I have the Pro plugin.

The strange thing, that it gives the permission errors even when an admin is logged in.

I fixed the error by editing the htaccess file, but it’s a recurring problem.

Here is the code in htaccess:

Options -Indexes
deny from all
<FilesMatch ‘.(jpg|jpeg|png|gif|mp3|ogg)$’>
Order Allow,Deny
Allow from all

Could you help me with that?

Thanks,
Judit

s2Member does not change file permissions. That said, we may not mean the same thing when we talk about “permissions”. What error messages are you receiving exactly?

Sorry for not including it, I get this message:

Forbidden

You don’t have permission to access /wp-content/uploads/edd…pdf on this server.

Apache/2.4.23 (Unix) Server at outcomedeliverynetwork.com Port 80

That also may mean that file is not there, please check. And yes, this is not related to s2M, it cars about member’s permissions to read some posts/pages.

When I comment out the htaccess file, it’s all good. But for some reason, later the problem occurs again…

So the problem is in .htaccess file, but not at the rows you show…

I just saw the code was not correct, the htaccess file contains the following:

I’m wondering what changes the permission for these files.

Your forbidden message relates to the Easy Digital Downloads plugin. That also tries to protect downloadable files, and it’s that plugin which is having problems. You need to talk to the developers of that plugin.

Thanks Guys!

I really appreciate your help!