ARE YOU TRAPPED IN A “YOU ARE ALREADY LOGGED IN” LOOP? - Aug 9th, 2020


The solution to this issue proved to be very illusive but it's now solved, and I hope that this will save someone a
whole heap of time and frustration.

The one small coding change that actually fixed the issue was in the website membership plugin (V1.13) itself.

The $GLOBALS['WEBSITE_LOGIN_LOGIN_FORM_URL'] had a full URL entered.

When I changed the full URL in $GLOBALS['WEBSITE_LOGIN_LOGIN_FORM_URL'] = 'http://www.my-site.com/member_login.php';
to a relative URL: $GLOBALS['WEBSITE_LOGIN_LOGIN_FORM_URL'] = '/member_login.php';

The loop issue and the misdirects after login issues that my client had mentioned all disappeared.

And just to be sure, every time I changed the relative URL back to a full URL, the issue returned.

Another possibility is that you don't have a destination set in $GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] =

Try setting a relative URL her and see if that helps.

I'm still curious as to why that made a difference, but there you have it...



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service