- This topic has 2 replies, 3 voices, and was last updated 10 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Using the Login Redirection feature
Tagged: after login redirection
Hi! The Login Redirection to the last page is awesome feauture. Thanks for that.
But now there is the one way to use it:
if user clicks on Login message, that displayed in protected post.
For example — if you use ‘Custom Message Add-on’ the login redirection to the last page wouldn’t work.
Also if you have a static login link for example in header it wouldn’t work too because you need to use swpm_redirect_to query in URL.
So my questions are:
1. Is there way to create Login link in header that would work with the new redirection feature?
2. Is there any way to create custom message with Custom message addon which would also work with the new redirection feature?
Thank you for your suggestion. The plugin developers will investigate further your request.
Kind regards
I am not 100% sure as to what you are trying to do but I try to answer as best as I can.
Where is this login link in the header coming from? Is this a link that our plugin creates or you created it yourself with some custom coding?
When you create your own login link, you can redirect the user to a particular page by using the “swpm_redirect_to” parameter in the URL. Following is an example:
example.com/some-page/?swpm_redirect_to=example.com/another-page
The plugin automatically does the above (for the current page), when you click on a login link that was created by our core plugin.