PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

page access not working ok

s2Member Plugin. A Membership plugin for WordPress®.

page access not working ok

Postby coloradoflyfisherman » September 19th, 2011, 12:12 pm

I set up a special sale page for a pdf version of my product.
Set the restrictions page to add the id of the download page for the pdf product
generated a paypal button using S2
tested the paypal button and it showed the correct product
did not do a test purchase to see if the redirect came back to the pdf download page

On the download page, I had inserted a link to the pdf book which was in the s2 member download folder.

S2 changed the pdf download link to another product in the folder which required an activation key to unlock it.

When the S2 Member plugin is deactived and I try a browser access to the pdf download page, I am redirected to the Membership options page.

I would think with S2 deactivated that S2 redirects would not work.
User avatar
coloradoflyfisherman
Registered User
Registered User
 
Posts: 14
Joined: May 12, 2011

Re: page access not working ok

Postby Cristián Lávaque » September 19th, 2011, 10:35 pm

Thanks for reporting the redirection after s2Member got deactivated. I'll let Jason know about it. It may related to the new .htaccess feature that was added to the download URLs.

And what was the URL to the protected page and what did it get changed into?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: page access not working ok

Postby Jason Caldwell » September 20th, 2011, 2:46 pm

Cristián Lávaque wrote:Thanks for reporting the redirection after s2Member got deactivated. I'll let Jason know about it. It may related to the new .htaccess feature that was added to the download URLs.

And what was the URL to the protected page and what did it get changed into?

The new mod_rewrite rules don't do any redirections. They just rewrite the URL internally and serve the file. That being said, s2Member itself may force a redirection, but only if access is denied, or when/if files are being served through Amazon S3 and a redirection to the Bucket object is necessary.
coloradoflyfisherman wrote:When the S2 Member plugin is deactived and I try a browser access to the pdf download page, I am redirected to the Membership options page.
Right, if s2Member deactivated, you should NOT be redirected in any way by s2Member, because it's code is not even loaded by WordPress. It sounds like your browser may have cached the redirection, is that possible? Try clearing your temp files/cache.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: page access not working ok

Postby Cristián Lávaque » September 20th, 2011, 4:08 pm

Thanks for clearing that up. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron