latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Redirect to previous page from MOP

Home Forums Community Forum Redirect to previous page from MOP

Tagged: ,

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 4 years, 10 months ago.

Topic Author Topic
Posted: Friday Mar 2nd, 2012 at 10:47 pm #7141
Jeff Wedren
Username: jwedren

I have searched high and low with no success. I am trying to find a replacement code for the login welcome page that will redirect the user to their previous page.

I know that the pro widget does redirect to previous page but looking for a way to redirect to previous page when they are directed to the member login page.

Thanks!

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Mar 3rd, 2012 at 3:29 am #7159

Hello Jeff.

You’d have to customize that using the Membership Option Page variables.
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

There you’ll find enough info to know what page to redirect the person back to after login. You can use the redirect_to var in the link to the login page, for example: [hilite mono]/wp-login.php?redirect_to=/?p=123[/hilite]

I hope that helps. :)

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.