# Unable to login directly from my website (LiteSpeed Cache)

**URL:** <https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632>\
**Category:** HivePress\
**Created:** [April 29, 2026, 10:20am UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632 "2026-04-29T10:20:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon](https://community.hivepress.io/user_avatar/community.hivepress.io/leon/32/14329_2.png) [@Leon](https://community.hivepress.io/u/Leon)\
**Post date:** [April 29, 2026, 10:20am UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/1 "2026-04-29T10:20:38Z")

</div>

Hi, I have a problem with the log in of my website:

## Steps to reproduce

I create an account through the sign in button on my website and I am then logged in. As soon as I log out and try to log back in, it does not work. I only get redirected again to my home page without being logged in.

I can only log in through a php or admin link, but obviously my users will not have that link, only my normal website URL. How can it be fixed?

## Actual result

User does not get logged in.

## Expected result

User is logged in normally.

## 

Hopefully you can help!

---

<div class="post-metadata">

**Author:** ![ChrisB](https://community.hivepress.io/user_avatar/community.hivepress.io/chrisb/32/14185_2.png) [@ChrisB](https://community.hivepress.io/u/ChrisB)\
**Post date:** [April 29, 2026, 11:04am UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/2 "2026-04-29T11:04:26Z")

</div>

Hi @Leon,

Please have a read through the following topic, and check if the recommended solution works in your case.

- [HivePress Login Issues on Firefox Private Mode, Chromium & Epic Browser – How to Fix?](https://community.hivepress.io/t/hivepress-login-issues-on-firefox-private-mode-chromium-epic-browser-how-to-fix/17592)

I hope this helps!

Cheers,  
Chris ✌

---

<div class="post-metadata">

**Author:** ![Leon](https://community.hivepress.io/user_avatar/community.hivepress.io/leon/32/14329_2.png) [@Leon](https://community.hivepress.io/u/Leon)\
**Post date:** [April 29, 2026, 3:38pm UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/3 "2026-04-29T15:38:50Z")

</div>

Hi Chris,

I tried several things and now noticed that the LiteSpeed cache plugin is the problem. As soon as I disable the plugin, it works. Changing several things within the plugin does not work.

Is there anything I can do about it? because as far as I know, the LiteSpeed plugin is important for the overall performance of websites. Hopefully you can help.

Thank you very much for the help until now!

---

<div class="post-metadata">

**Author:** ![ChrisB](https://community.hivepress.io/user_avatar/community.hivepress.io/chrisb/32/14185_2.png) [@ChrisB](https://community.hivepress.io/u/ChrisB)\
**Post date:** [April 29, 2026, 3:52pm UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/4 "2026-04-29T15:52:10Z")

</div>

Hi @Leon,

Glad to hear you’ve managed to pinpoint the cause. I’m not sure if you already seen this documentation:

- [How to Speed up a HivePress-built Website | HivePress Blog](https://share.google/cgmf1tZvvZUxLbm6f)

Following it will ensure you’ve got the plugin set-up as recommended by the HivePress team.

I don’t personally use LiteSpeed, as my hosting provider has their own in-house optimization plugin that I use instead.

If the settings mentioned in the tutorial are still causing issues for you, you can try asking your hosting provider for help resolving the issue. Otherwise, Kseniia or Ihor may have some other suggestions when they get round to replying.

I hope this helps!

Cheers,  
Chris ✌

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [April 29, 2026, 7:15pm UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/5 "2026-04-29T19:15:10Z")

</div>

Hi,

Please try the solution from the article that Chris linked. If the issue persists, please let us know and we will investigate further.

---

<div class="post-metadata">

**Author:** ![Leon](https://community.hivepress.io/user_avatar/community.hivepress.io/leon/32/14329_2.png) [@Leon](https://community.hivepress.io/u/Leon)\
**Post date:** [May 4, 2026, 11:53am UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/6 "2026-05-04T11:53:15Z")

</div>

Hi Kseniia,

I tried all the steps of the solution that Chris linked but after that it still wouldn’t work. I had to deactivate the plugin again to be able to log in directly from my website link.

I don’t have any solution for it, maybe you can help once more? that would be great!

Thank you very much!

---

<div class="post-metadata">

**Author:** ![ihor](https://community.hivepress.io/user_avatar/community.hivepress.io/ihor/32/5_2.png) [@ihor](https://community.hivepress.io/u/ihor)\
**Post date:** [May 5, 2026, 12:00pm UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/8 "2026-05-05T12:00:39Z")

</div>

Please make sure that LiteSpeed is set up according to the Cache Settings described here [How to Speed up a HivePress-built Website | HivePress Blog](https://hivepress.io/blog/speed-up-a-directory-or-marketplace-website/) For example, please check if **REST API cache** and **cache for logged-in users** is disabled.

We also have LiteSpeed installed on all of the theme demos [https://listinghive.hivepress.io/](https://listinghive.hivepress.io/) Please let me know if the same issue persists there, if so, we’ll debug this further as we officially recommend LiteSpeed cache for HivePress optimization.

---

<div class="post-metadata">

**Author:** ![Leon](https://community.hivepress.io/user_avatar/community.hivepress.io/leon/32/14329_2.png) [@Leon](https://community.hivepress.io/u/Leon)\
**Post date:** [May 8, 2026, 2:35pm UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/9 "2026-05-08T14:35:53Z")

</div>

Hey ihor,

I did exactly as described but the issue persists, so I just have to turn the whole plugin off for the login to work…

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [May 11, 2026, 1:53pm UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/12 "2026-05-11T13:53:12Z")

</div>

Hi Leon,

Thanks for the details.

Could you please let us know if the issue also occurs on our demo site: [https://experthive.hivepress.io/](https://experthive.hivepress.io/)

We also use LiteSpeed Cache there, and it is configured according to our article. If the issue does not reproduce on the demo, then it is likely something environment-specific on your hosting side.

In that case, please also make sure that your hosting provider does not have any server-side caching enabled that could potentially conflict with the site behavior or override dynamic content.

---

<div class="post-metadata">

**Author:** ![Leon](https://community.hivepress.io/user_avatar/community.hivepress.io/leon/32/14329_2.png) [@Leon](https://community.hivepress.io/u/Leon)\
**Post date:** [May 17, 2026, 11:32am UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/13 "2026-05-17T11:32:31Z")

</div>

Hi,

on your demo site I can log in without any issue.

I will investigate if my hosting provider has anything to do with it and let you know.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [June 16, 2026, 11:33am UTC](https://community.hivepress.io/t/unable-to-login-directly-from-my-website-litespeed-cache/17632/14 "2026-06-16T11:33:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
