Page 1 of 1

page access not working ok

PostPosted: September 19th, 2011, 12:12 pm
by coloradoflyfisherman
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.

Re: page access not working ok

PostPosted: September 19th, 2011, 10:35 pm
by Cristián Lávaque
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?

Re: page access not working ok

PostPosted: September 20th, 2011, 2:46 pm
by Jason Caldwell
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.

Re: page access not working ok

PostPosted: September 20th, 2011, 4:08 pm
by Cristián Lávaque
Thanks for clearing that up. :)