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™

Redirect protected pages to URL rather than Mem Optins Pg

s2Member Plugin. A Membership plugin for WordPress®.

Redirect protected pages to URL rather than Mem Optins Pg

Postby AtlasCatalina » January 25th, 2012, 12:21 pm

Can I have protected pages redirect to a specific URL rather than default to the Membership Options Page?
User avatar
AtlasCatalina
Registered User
Registered User
 
Posts: 1
Joined: January 25, 2012

Re: Redirect protected pages to URL rather than Mem Optins P

Postby Cristián Lávaque » January 26th, 2012, 5:21 am

You could change the content of your Membership Options Page based on the page that the person was trying to visit. Or, also using a conditional there, you can use a JavaScript redirection to take him to another page.

WP Admin -> s2Member -> API / Scripting -> Membership Options Page Variables
WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals

http://www.quackit.com/javascript/javas ... direct.cfm

I hope that helps. :)
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