Simple Membership Plugin › Forums › Simple Membership Plugin › Logout inconsistent on https site versus http
- This topic has 3 replies, 3 voices, and was last updated 9 years ago by
iamarthur.
-
AuthorPosts
-
June 22, 2017 at 9:22 am #11283
iamarthur
ParticipantHi,
Love the Simple Membership Plugin except for a logout issue on our site. After some testing, on the same shared hosting, it seems like the issue exists on the https site. We tested the plugin on another http site and it seems to be able to logout properly. It does seem to logout after clearing browser cache.
We have tested with all other plugins disabled and with the default wordpress theme and isolate it to this issue. As the site is still under development I can only pm if you guys need access. Any insights will be great.
June 22, 2017 at 10:39 pm #11291mbrsolution
ModeratorThank you for reporting this. The plugin developers will investigate further your issue.
Kind regards
June 23, 2017 at 2:00 am #11299admin
KeymasterThis happens if you are mixing “http” and “https” URLs in the same site. So if a user logs in from the “https” page then go to a non-https page the login session is going to drop (due to security reasons). Thats why you see the behavior you explained.
If you are using an SSL certificate on your site then You MUST force all pages to load in “https” (thats the best practice).
A plugin like the following can be helpful (if you don’t know how to do it yourself):
https://wordpress.org/plugins/https-redirection/Also, go to the settings menu of the membership plugin and the membership level menu then make sure ALL the URLs there are “https”. For example: if you installed the plugin when your site had “http” then installed SSL certificate, you may have the non-https URLs as your after login redirection which will cause issue.
June 23, 2017 at 5:30 am #11303iamarthur
ParticipantHi
Thanks for the reply. The whole site is in https and I have checked that under the settings page, all the urls are in https.
What I was referring to is I tested the plugin on 3 different and separate sites. The ones on https has the inconsistent logout issue whereas the http site can log out successfully every time. That is the only difference we observed so far. Wonder if you have any other insights on it.
Regards
Arthur -
AuthorPosts
- You must be logged in to reply to this topic.