Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Post-login Redirection Not Working
- This topic has 11 replies, 4 voices, and was last updated 13 years, 8 months ago by casstyson.
-
AuthorPosts
-
March 11, 2011 at 9:01 pm #2917GraphicBassMember
Since my last upgrade to WP eMembers v 6.1.2 redirection after login has not worked.
Members who login are directed to the WP Dashboard — they then don’t know how to get to a page where they can do something (my redirect page contained links to the sections of the site they would most likely use).
Thoughts?
Thanks!
gary
March 11, 2011 at 11:00 pm #30081wpCommerceModeratorPlease post a link to the page where you have the login form.
a)Do you have any test login details that we can use to check it out?
b)What URL are you using for the redirect page?
c)Do you have the
Enable After login Redirection
option checked in the eMember general settings.March 12, 2011 at 10:08 pm #30082GraphicBassMemberLogin page: [http://www.youremployeehandbook.com/news/wp-login.php]
a) User: testuser Pass: test1234 (assigned “Free Membership” level)
b) Redirect login: [http://www.youremployeehandbook.com/news/member-login-success/]
c) Yes. I also plugged the above URL into the Member Level-specific redirect without success.
Thanks. Let me know what else you might need.
gary
March 12, 2011 at 11:48 pm #30083wpCommerceModeratorThe login details didn’t work. It showed me “Wrong password” error.
March 13, 2011 at 12:13 am #30084amin007ParticipantI noticed your linked to the WordPress login page in the above post. Are your members trying to log in via the WordPress login? eMember has its own login form that needs to be used so eMember can redirect.
March 13, 2011 at 12:53 pm #30085GraphicBassMemberSorry. Specified the wrong URL for login.
The member login in page is:http://www.youremployeehandbook.com/news/member-login
That page contains this shortcode: [wp_eMember_login_form:end] Most members use the login widget on the home page,
This is very odd. The redirection is now working properly. The only change I made was to re-save the Page settings in Admin. Perhaps that reset the info in the database? Or flushed the gremlin…..
I did notice one thing: In Firefox (Mac as well as PC), the login widget is sitting to the right outside the sidebar when logged-in. When logged out, the widget is in the right place inside the sidebar.
It’s OK on Mac Safari, PC Safari, and PC Explorer.
gary
March 13, 2011 at 12:55 pm #30086GraphicBassMember@wpCommerce: Mistyped the password. It’s testuser (same as username for simplicity).
That’s what I get for writing posts late at night.
gary
March 14, 2011 at 1:29 am #30087amin007ParticipantAfter I login using the “testuser” account I get redirected to the following page successfully (which is what I think you want):
http://www.youremployeehandbook.com/news/member-login-success/
Can you double check this please? What am I missing?
March 15, 2011 at 12:34 am #30088GraphicBassMemberYes, that’s the odd thing. The redirect is working now, when it wasn’t before. I did re-save the Settings page; perhaps that re-wrote the proper settings into the database, where they took effect.
Gremlins.
Now the problem in PC and Mac Firefox is that the login widget, when logged out, is sitting outside the right sidebar, but appears normally when logged in. OK in Mac Firefox and Safari, and PC Safari and Explorer. Seems to be a Firefox issue.
Any ideas on that one?
Thanks.
gary
March 15, 2011 at 1:44 am #30089amin007ParticipantThat looks like a CSS messup somewhere on the page. One of the following could be the reason:
1) You have modified the eMember code and messed up somewhere.Get a fresh build of eMembeer from here to resolve this:
https://support.tipsandtricks-hq.com/update-request
2) Your theme or some other plugin is doing something that they shouldn’t be doing. This test should help you identify the source
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
March 15, 2011 at 10:57 pm #30090GraphicBassMemberOK, I’ll check both scenarios out. Thanks!
gary
March 30, 2011 at 4:56 pm #30091casstysonMemberI had the same exact issue. I took a cue from the above post, and did two things:
First I tried just re-saving the Pages/Forms settings page. That didn’t do it.
Then I unchecked the “Enable After login Redirection” and saved, then I came back in and rechecked it and saved again. That still didn’t solve it.
Then I went back into Pages/Forms settings and deleted the page I had under “After Login Page:” and saved. Then I went back in, and pasted the same exact page URL in again, and saved again. That did it. Login redirection now works as it should.
Gremlins for sure…
-
AuthorPosts
- You must be logged in to reply to this topic.