How to prevent persistent login loop issue…
-
I’m having an issue where some users try to log in at https://howtofightnow.com/login and instead of being logged in, redirected, or given any kind of error message, the login page just refreshes and does nothing.
This issue is resolved when the user clears cache and cookies… but with 150,000 active members, this is creating a massive support burden and I’m dying inside.
I managed to get one of my users to generate a HAR report while recreating this issue, and I noticed something that might be strange. Under ‘cookies’, the user has two different wordpress_logged_in cookies with the same name, but different values and different expirations:
wordpress_logged_in_74b1016f04a30b3bb6464ee26ff7ce1d
<dfn>Value</dfn> insertusername%7C1737763662%7Cx7hSE7cTNqUlGpPTHTCDLFJd21PbuNCdfSchgGBixfL%7C7dce19cb52e29fb3198ab025bd16fbeee3750be7695e8c7e9920cc83b457cb85
(<dfn>Expires</dfn> 2025-01-25T12:08:03.301Z)wordpress_logged_in_74b1016f04a30b3bb6464ee26ff7ce1d
<dfn>Value</dfn> insertusername%7C1749088122%7CosC3uzJwi8qHpKnz7zhS4MX6Z6BRlxFhK9bn5Z3asZn%7Cbb4c514663a7201556521efef258f86e
<dfn>Expires</dfn> 2025-06-05T13:51:22.307ZI don’t know if this is the cause of the login loop, but when I log into the site successfully and click around, I never have more than one wordpress_logged_in cookie, so I am hypothesizing that this could cause a conflict. If this is NOT normal, what could be causing the user to have two different cookies like this?
I am completely at my wits end with this issue, and I’m just hoping to find what could cause a problem that is solved by clearing cache and cookies. For the record, the login page is NOT cached in any way.
I have tried setting the site name / location
I have tried a persistent login plugin
I have tried regenerating a clean htaccess
I have tried regenerating a clean wp-config
I have tried to clear the login SALTS to force everyone to log in again fresh.So far, nothing has worked.
Please let me know if you can think of anything.
Thank you for your time and help with this.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.