S2Member-files redirecting to membership options page

I need some help from a saint here. I had to emergency-move my site from a compromised Linux host to a managed wordpress site at GoDaddy. Everything went well and I was able to restore the entire site without a problem EXCEPT whenever a logged-in user tries to access a file in the S2member-files directory they are redirected to the Membership Options page as if they’re not logged in. Other protected content (pages etc) are fine - it is specifically when clicking on a link to a file in this folder. I’ve checked all the domain links, verified that everything is linking to https, I’ve even installed a forced https: redirection plugin even though GoDaddy has that in their .htaccess file anyway. I’m at a loss. The only other thing I’ve noticed is that in that transition, the domain omitted the www on the front. But the urls seem to have been converted just fine to just the domain.com too so I don’t see the issue. Any ideas?

You’ve moved to GoDaddy. That’s almost certainly the problem right there. You’ve just moved from the frying-pan to the fire.

Thanks - but not particularly helpful, since I was already at GoDaddy.

Sorry that was unnecessarily flippant - I’m very frustrated with this because I feel like I’ve done everything anyone could reasonably do to troubleshoot, including updating my wp_config.php, checking all links rewrite to https and so on, but no dice. Members can login and get access to a page just fine, but any link on that page to a file in s2member-files redirects them to the membership options page as if they’re not logged in.

Is there something specific about GoDaddy that would cause this behavior - I know a lot of people despise them but so far I haven’t seen an actual technical rationale.

I despise GoDaddy from my experiences with trying to get a friend’s WordPress site to work for her after she got stuck. It was a nightmare.

I could see what the problems were, and told her what she needed to ask for, but all that she got were replies saying things like “WordPress can’t do that” (when it certainly could) or “that’s a very unusual setup” (when it was a very simple blog with a minimum of plugins) or “we can’t do that” (which, if true, meant that they had no business offering WordPress hosting at all, but which probably wasn’t true) or “you should really buy X add-on for that”.

In the end, she gave up in frustration, and I vowed that I would never again work on any site hosted by GoDaddy. If anyone ever asks me to do so, my first requirement is that they move the site to a sane host (which also means avoiding any host owned by EIG; I don’t have personal experience of such hosts, but I have seen enough reports to believe that they are probably much the same).

Understood. I’ve had my run-ins too. In this particular case however, everything about my site runs great except for this one, really weird, problem related solely to downloadable files. It’s driving me nuts as does the absence of support from S2Member, and my reliance on the good graces of the community.

Hi, agree with @KTS915
Regarding Host from my exp with GoDaddy i recommend you move from managed WP to shared Hosting with cPanel i use Ultimate pack on Godaddy and all is fine after i moved, they have limited WP cron on managed WP which cause s2member Automatic EOT Behavior to not work proper but also there are other problems.
P.s. i do not use s2member files folder anymore, i use Download Manager plugin because it have more advanced functions.

Thank you Filip. Can you expand on the Download Manager plug-in. Does that replace S2Member-Files for use inside the membership restricted area then?

It creates it’s own protected folder and you can set which membership level can download each file, only the pro version is expensive, you can try the free version they have also free add-ons to help sell documents.

1 Like