Simple Membership Plugin › Forums › Simple Membership Plugin › Redirection to last page after login doesn't work
- This topic has 4 replies, 4 voices, and was last updated 5 years, 9 months ago by
Susan.
-
AuthorPosts
-
December 3, 2020 at 9:32 am #21648
ophelie59
ParticipantHello !
I use the after login redirection add-on.I followed your tutorial
https://simple-membership-plugin.com/configure-login-redirection-members/When a user connects, it follows the url specified in the membership level, no problem.
But I also enabled the Enable Redirection to the Last Page option.
But it never works.
Am I missing something ?Best regards
OphélieDecember 3, 2020 at 10:41 pm #21660mbrsolution
ModeratorHi,
But I also enabled the Enable Redirection to the Last Page option.
When enabled, this option takes preference over the after login redirection that you configure in the membership level. So when this condition is true, this redirection will take place (instead of the one configured in the membership level).
Is the above what is happening in your site?
Regards
December 4, 2020 at 8:30 am #21666ophelie59
ParticipantHello
Well in fact that’s the problem !
I have enabled the Enable Redirection to the Last Page option and this option doesn’t take preference over the after login redirection. In fact, even when I don’t put a link in the member level, the last page option doesn’t work, it then redirects to the first page of my site.
To resume :
The Redirection to the Last Page option is enabled
-if I put a link to redirect on the membership level, it always redirects to that link, depending on the membership of the user
– if I remove the links in the membership levels, it always redirects to the main page
I can’t make the Redirection to the Last Page option work 🙁
Best regards
OphélieDecember 5, 2020 at 1:07 am #21669admin
KeymasterThe “redirect to last page” option ONLY works when the “login” link INSIDE a protection message is clicked. Otherwise, it doesn’t know which page to redirect to if the “swpm_redirect_to” parameter is not present in the URL (after you click the login link).
Please read the text in the blue box in the following page (towards the bottom of the page).
https://simple-membership-plugin.com/configure-login-redirection-members/February 4, 2021 at 8:23 am #22073Susan
ParticipantI have this problem too. I’ve enabled the add on plugin and my login link is inside the shortcodes:
[swpm_protected custom_msg=’The following content is only available to logged in users. Click to log in</a’]Download page link
[/swpm_protected]but it just redirects to the homepage
Is there anything I’m doing wrong?
-
AuthorPosts
- You must be logged in to reply to this topic.