Simple Membership Plugin › Forums › Simple Membership Plugin › Energency: Redirect Issue Came back
- This topic has 14 replies, 3 voices, and was last updated 9 years, 4 months ago by
bizfundi.
-
AuthorPosts
-
October 13, 2016 at 3:45 pm #8563
websydaisy
Participanthttps://simple-membership-plugin.com/forums/topic/members-cant-see-content/
This problem has recurred, and my previous fix is not fixing it.
Users login and are taken to a page that shows their membership details instead of to the page they should be redirecting to.
If you then try to just go to the page they should be redirecting to, it says they need to login.
Rinse repeat. They can never get to the one and only page they need to get to.
People are needing to log in to the page right now, and I can’t figure out why they can’t!
October 14, 2016 at 1:10 am #8568mbrsolution
ModeratorHi, to better understand your current issue. Can you share with me how have you set up the redirect to the other page for your login members?
Thank you
October 14, 2016 at 4:49 am #8572websydaisy
ParticipantYep, in Membership Levels:
https://www.dropbox.com/s/0ton9onwm1k5sie/Screenshot%202016-10-13%2023.49.34.png?dl=0
October 14, 2016 at 6:30 am #8573mbrsolution
ModeratorHi, the image shows everything correct. I also check the URL in the image and it does work. Your next step will be to carry out the following troubleshooting steps.
Thank you
October 14, 2016 at 7:19 pm #8577websydaisy
ParticipantI had typed out a long reply this morning and submitted it and now I see it is not here any more! ARGH. In brief, I already did all troubleshooting steps.
Everything worked fine on my staging site with same theme, plugins, and settings.
I would be happy to provide a login. Client is getting upset. Please help!
October 14, 2016 at 8:29 pm #8579mbrsolution
ModeratorHi, I found your long reply. It is here . I also notice that you use wpengine hosting in your staging site? If your host is wpenginge, can you share with them what is happening in your live site. Wpengine are very particular with plugins and themes. They have a lot of control, so I would not be surprise if there might be some caching set up that might be causing this erratic issue of yours.
Let me know what they say.
Regards
October 14, 2016 at 9:35 pm #8582websydaisy
ParticipantOk, I will contact them now — but FWIW, I have kept caching turned off on this site because I have seen it cause issues on membership sites before.
October 14, 2016 at 10:02 pm #8585mbrsolution
ModeratorI understand what you mean.
Wpengine is a great hosting company but they have some very strict rules and settings configured in their servers. Perhaps that is why their servers function so well. However many people like to fully control their sites and install any plugin they want, that is why they don’t sign up with Wpengine.
Your behavior is definitely very odd and to tell you the truth it is the first time I hear of this behavior in this manner. All other people running this plugin on many different servers don’t report your kind of behavior.
That is why I suggested for you to contact your host wpengine.
I look forward to hearing from you in regards to this issue.
Regards
October 14, 2016 at 10:09 pm #8586websydaisy
ParticipantOk, they disabled their caching on the protected page and on the login page, and for now it APPEARS to be fixed. I could not reproduce it at least. Fingers crossed!
October 14, 2016 at 10:14 pm #8587mbrsolution
ModeratorI am glad to hear ;). I am sure it will work from now on.
I don’t know much about wpengine, but I am sure they have a different set up between a staging site and a live site. That is probably why you could not reproduce the same behavior on your live site.
Regards
December 14, 2016 at 1:06 pm #9209bizfundi
ParticipantThank you for this amazing membership script. I find it so easy to use, no problems at all except this login/logout issue.
I have the exact same problem as described by websydaisy in this other thread:
https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/#post-9207I did all that testing and disabling, no difference.
I tried it in different browsers, both sandboxed and not, and sometimes the log out works, and sometimes it just redirects me back to the same member. I have tried in Firefox and Google Chrome.
I have to delete all history and cookies for it to work properly the first login, after that it seems to just show the same user when clicking login.
So I reckon my isp, who is http://www.idshosting.co.za might also have a caching setting they can help me with.
I’d really appreciate it if you could let me know the exact file names that I need pass on to my ISP, for them to turn off caching?
Thanks so much!
December 14, 2016 at 8:01 pm #9212mbrsolution
ModeratorHi @bizfundi, try excluding the login page for starters. See if that fixes the issue.
December 15, 2016 at 8:01 am #9214bizfundi
ParticipantHi mbrsolution
Hi @bizfundi, try excluding the login page for starters. See if that fixes the issue.
Thanks for the speedy reply. Apologies, but I have no clue what you mean. Exclude the login page from where? For what purpose? How?
My thinking is, why remove the log in page, if that is what you meant? Members need access to the login page to log in, so it wouldn’t be practical to remove that. How would they log in otherwise?
There is no page relating to the log in page that I have access to – except the link to the login page. I’ve checked in the script settings and Word Press page settings and there is just no page anywhere for me to edit or exclude.
Apologies once again, but I really am lost with that suggestion you made.
Please clarify in laymans terms, thanks so much.
December 15, 2016 at 2:44 pm #9219websydaisy
ParticipantYou will not remove the login page — you will need to remove caching from the login page. If you are using a caching plugin of any kind, it should have a way to exclude certain pages from caching. If not, your host probably has their own caching going on and you need to contact them and ask them to not cache the login page — whatever link people go to to enter their username and password so they can access the protected content. My host was WPEngine and they took care of it. I also had them not cache my protected pages (the pages only logged-in members can access), just to be safe.
To clarify, it is not certain files, it is certain pages. Go to wherever your members log in, and copy the link from the browser address bar. Then tell your host not to cache that page. If you have a caching plugin, try disabling it, clear your cookies, and test to see if that fixes it.
December 15, 2016 at 5:18 pm #9227bizfundi
ParticipantThank you websydaisy! That was a perfect explanation for me, I understand what you said clearly. I am not using any cache plugin. I will do as you suggested, and report back good or bad for future readers.
-
AuthorPosts
- You must be logged in to reply to this topic.