Simple Membership Plugin › Forums › Simple Membership Plugin › Redirecting when logged in to specific page
- This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago by
mbrsolution.
-
AuthorPosts
-
May 6, 2021 at 1:03 pm #22535
Steve
ParticipantWhen logging in, I’m sent to the home page, I want to be sent to the member’s page that I’ve set up.
See
https://cubelabdemo.co.uk/test/my-page/I want to follow this process:
Go to ../my-page, not logged in, so register (that works ok)
Now registered, I want to get sent to the ../my-page (which is restricted) (but I am sent to the home page)
Thanks in advance.
Steve
May 7, 2021 at 7:32 am #22545mbrsolution
ModeratorHi Steve, please check the following documentation.
https://simple-membership-plugin.com/configure-after-registration-redirect-for-members/
Let me know if the above helps you.
Thank you
May 7, 2021 at 8:02 am #22550Steve
ParticipantThat’s fine, but if the destination page is a restricted page, it doesn’t wrok.
The page I have set up for this test is /library and I get re-directed to it perfectly if that page is not restricted, but if it is (and that’s the point of this) then I get re-directed back to the registration page.
Hope this can be resolved 🙂
Steve
May 7, 2021 at 8:06 am #22551Steve
ParticipantUpdate – I mead an error, tried again.
This time, the re-direction works, but as it’s a restricted page, I see the message to ask me to login:
You need to login to view this content. Please Login. Not a Member? Join Us
This is a bit of a pain as it means people need to then login after successfully registering. I guess I can get over that with different wording.
Is this normal working? If so, I need to edit the wording or it looks like the registration failed.
Thanks!
May 8, 2021 at 12:22 am #22554mbrsolution
ModeratorHi,
Is this normal working?
Yes, that is the behavior of this process. Remember the content of a protected post or page can only be viewed by the membership level assigned to it. So when someone registers in your site, they also need to log in to view the protected content.
However if you want your newly registered members to view the content of the redirected page protected, make sure you enable the following feature Enable Auto Login After Registration found in Advanced Settings tab.
Let me know if the above helps you.
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.