Login Redirection Problems
Posted: March 15th, 2011, 2:38 pm
As of s2Member v3.5+, the only way to override s2Member's Login Welcome Page redirection is through the application of a hidden input field with the name: redirect_to ( a WordPress standard ). Some login widgets will use the special redirect_to variable ( passing its value to your /wp-login.php handler ). s2Member must always obey that parameter when it is passed through.
For example, this will override s2Member's Login Welcome Page redirection:
If you're having trouble, you might be using a theme or plugin that is passing the redirect_to variable, and thereby forcing a redirection to a pre-determined URL on your site. Either that, or you may have a plugin that is attempting to compete with s2Member in some way that is ultimately creating a conflict.
Please start by attempting to log into your site as a Level #1 Member, from the default location:
If that does NOT redirect you to the Login Welcome Page, try disabling other plugins until it does. This will help you find the culprit. If you find the culprit, please try to report back so we can have a closer look. It might be something we can help you with; making it possible for the two plugins to co-exist.
If disabling all plugins does not work, try using the default Twenty Ten theme.
Another important note. If you're running the s2Member Pro Login Widget, please remember that the Pro Login Widget has it's own set of options to control login/logout redirection. You can re-configure the Pro Login Widget in your Dashboard under: Appearance -> Widgets -> s2Member (Pro) Login Widget.
For example, this will override s2Member's Login Welcome Page redirection:
- Code: Select all
http://www.yoursite.com/wp-login.php?redirect_to=http://www.yoursite.com/page2/
If you're having trouble, you might be using a theme or plugin that is passing the redirect_to variable, and thereby forcing a redirection to a pre-determined URL on your site. Either that, or you may have a plugin that is attempting to compete with s2Member in some way that is ultimately creating a conflict.
Please start by attempting to log into your site as a Level #1 Member, from the default location:
- Code: Select all
http://www.yoursite.com/wp-login.php
If that does NOT redirect you to the Login Welcome Page, try disabling other plugins until it does. This will help you find the culprit. If you find the culprit, please try to report back so we can have a closer look. It might be something we can help you with; making it possible for the two plugins to co-exist.
If disabling all plugins does not work, try using the default Twenty Ten theme.
Another important note. If you're running the s2Member Pro Login Widget, please remember that the Pro Login Widget has it's own set of options to control login/logout redirection. You can re-configure the Pro Login Widget in your Dashboard under: Appearance -> Widgets -> s2Member (Pro) Login Widget.