Simple Membership Plugin › Forums › Simple Membership Plugin › Login redirect
Tagged: Redirect after login
- This topic has 10 replies, 2 voices, and was last updated 10 years ago by
Supremelink.
-
AuthorPosts
-
November 12, 2016 at 5:12 pm #8828
Supremelink
ParticipantHi,
There is some problems with redirect after login at our site. We have a login link and when a user click it and enter their credentials, he or she are redirected to the correct page (set at membership level). But if the click another link and then the login link again, they will come to a page viewing their account information and are needed to logout before they can enter the member area again.
I cannot figure out what to do about it.
Regards
MartinNovember 13, 2016 at 7:21 am #8833mbrsolution
ModeratorHi, can you provide more information in regards to the following comment.
But if the click another link and then the login link again, they will come to a page viewing their account information and are needed to logout
Thank you
November 13, 2016 at 1:27 pm #8839Supremelink
ParticipantSure.
When logged in, I click for example “Home” (that is not protected) in the menu. When I then click “Login” again to access the member area, I come to a page viewing my profile. I have to log out and log in again to access the member area. This is confusing for our members and we receive a lot of e-mails about it.
Regards
MartinNovember 13, 2016 at 9:45 pm #8843mbrsolution
ModeratorHi, let me see if I understand correctly what is happening. I will break down the following comment.
When logged in, (are you login in as an admin?)
I click for example “Home” (that is not protected) in the menu. (this is while you are logged in as admin, correct?
When I then click “Login” again to access the member area, (are you saying that while you are logged in as admin you then try to log into the membership area, is this correct? If this is the case read the following documentation.) Now if you are not an admin and a normal member, why do you have to log in again? Are you logging in using WordPress login or Simple Membership login?
I come to a page viewing my profile. I have to log out and log in again to access the member area. (The above step should clarify this part.)
Regards
November 14, 2016 at 8:28 am #8859Supremelink
ParticipantSorry for bad explanation.
No, not logged in as admin.
I´ll take my “real world” example 🙂
1. I go to my site. Click on “Intranet” to login
2. I enter my credentials (normal user that is set up in this plugin) and get access to the member area (“Intranet”)
3. I click at “Hem” (Home) and then back to “Intranet” and got this screen
November 14, 2016 at 9:22 am #8860mbrsolution
ModeratorHi, I assume that Intranet is the Membership login link? Is that correct? When you click on Hem “Home” you then see the login widget on the side, is that correct? If that is correct then the procedure is correct.
That login widget is letting you know that you are currently logged in the website as a member.
So my question to you now is. What do you think is wrong from the above steps?
November 14, 2016 at 10:11 am #8864Supremelink
ParticipantHi,
Home is not protected. Only pages below “Intranet”.
The problem is that when I log in on my “Intranet” i see a protected page. If I then click “Home” and then go back to “Intranet” I get this account information. I then need to log out and log in again to access the first page of the Intranet area.
November 14, 2016 at 9:31 pm #8866mbrsolution
ModeratorI see what you mean. What do you mean by.
The problem is that when I log in on my “Intranet” i see a protected page.
What protected page are you referring to? Is this the page you set up in the redirect feature after a member logs in?
November 14, 2016 at 10:04 pm #8867Supremelink
ParticipantHi,
Yes, it´s the page the user is redirected to after login.
Sorry for the mess. I tried to work with other things at the same time as I´m trying to solve this. Did´nt work that well 🙂 Thanks for your patience!
November 14, 2016 at 11:11 pm #8868mbrsolution
ModeratorNo problem 😉
I now understand your problem. However you can’t do what you want to do. Once you move away from the page you where redirected too after login, you cant return back to that page. That feature is not currently available. I also think that feature cannot be implemented because it is beyond the scope of this plugin. That is more a WordPress feature.
November 15, 2016 at 10:30 am #8871Supremelink
ParticipantWell, it was worth a try 🙂
Thank you for taking the time to try to help me!
-
AuthorPosts
- You must be logged in to reply to this topic.