Describe the issue in as much detail as possible. Please remove the sections below if the issue is obvious enough and doesn’t require extra details.
Steps to reproduce
Create an account, confirm email and sign in. Go book a listing, pay for the listing. Click on your name to go to your dashboard/bookings page, click “Orders”, click “Settings”, sometimes it signs you out here, sometimes you have to click Orders, Bookings, Settings, Orders, and you’ll be signed out on your next click of Bookings. It’s inconsistent but only happens on the account pages.
Example redirect link: https://example.com/account/login/?redirect=https%3A%2F%2Fexample.com%2Faccount%2Fsettings%2F
(Swapped my domain name for example.com for privacy, the site has not launched)
Actual result
User is forcefully signed out.
Expected result
User should never be signed out unless they choose to be.
Extra details
I have tried rolling back 95% of customizations I have done to my site. I built most modifications in a child theme, and I have disabled that child theme and gone back to the parent theme. I turned off the 3 code snippets I have and uninstalled most plugins. I can’t figure out what is causing this.
WordPress version 6.9.4
I had built some custom redirecting logic in the functions.php of my child theme, but that is all disabled now since I am using the parent theme. I even deleted my staging site because I thought there might be some session key conflicts since BlueHost builds the staging site in the same files as the parent site directory.
Anyone experienced this before or have any pointers?
Hi @travisdee95,
It sounds like there might be a caching issue.
- Can you confirm if you’re using a caching plugin?
- Have you disabled caching for logged-in users?
The following documentation explains how to optimally set-up the official caching plugin recommended by HivePress, LiteSpeed.
(Disabling cache for logged in users is one of the mentioned recommendations.)
I hope this helps!
Cheers,
Chris 
1 Like
Chris!
Edit: I realized I didn’t answer your questions.
No I am not using a caching plugin, just allowing BlueHost to handle it. I clear the cache on that end regularly and even turn it completely off in my WP Admin >BlueHost >Performance.
I haven’t disabled caching specifically like that, only globally as described above.
Thank you so much for the suggestion. I assumed it was a caching issue too, but I have cleared my host cache so many times, used incognito mode, different devices, cleared browser caches etc, and the issue persists. I’ll definitely follow the guide for the plugin.
If I use the plugin, do you know if that takes over caching from BlueHost?
Hi @travisdee95,
I don’t use BlueHost myself, but I’d recommend at least disabling it temporarily, if you do choose to try out the LiteSpeed plugin, so as the two aren’t competing against each other.
If you don’t have a specific option to disable cache for logged-in users in your hosting settings, you can also try this code snippet to disable caching for logged in users.
I hope this helps!
Cheers,
Chris 
I’m contemplating moving off BlueHost because of this. I couldn’t complete all the settings from the link you sent (mainly Object Caching) because I think they are conflicting. Even if I disable BlueHosts managed caching I still can’t Enable it. It won’t even let me enable the BlueHost object caching. With everything I could enable (disable caching for logged in users being one of them that it did successfully do) I got the redirect sign out still.
Hi,
I hope you had a relaxing weekend.
It seems that the topic is resolved, but I wanted to add that this most likely looks like a caching issue, since we haven’t received any other complaints about this behavior and it is part of the core functionality of HivePress.
It is possible that the caching solution (especially server-side or hosting-level cache) is not correctly detecting the logged-in user state via REST API responses. In such cases, logged-in and logged-out versions of pages can get mixed or cached incorrectly.
If needed, there may also be a way to programmatically clear or bypass cache on user login via a hook, but this depends on the caching system used by your host. In some cases, switching off page caching for logged-in users or excluding authenticated requests from cache resolves the issue immediately.
Alternatively, testing on a different hosting environment (or temporarily disabling server cache) can help confirm this is the root cause.
kseniia
Thank you for your reply. We just renewed our hosting with BlueHost so I am going to try sticking it out. I opened a ticket with them and they have escalated it to their tech team. Specifically regarding the fact that I can’t enable object caching and the sign out redirect issue. If they can’t resolve it, I might just have to eat the cost and move to Hostinger so I can use Litespeed. Everything points to caching issues. I have disabled caching by BlueHost completely and the issue persists but I don’t know if it’s just holding on to a cached version of the pages or not. It seems like no matter how “disabled” I set their caching, something still behaves as if it’s cached.