Title: Problems with Litespeed cache
Last modified: March 22, 2022

---

# Problems with Litespeed cache

 *  Resolved [alexbosch](https://wordpress.org/support/users/alexbosch/)
 * (@alexbosch)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/)
 * Hi Andrea;
 * I’m having problems between your plugin and Litespeed Cache. The issue is when
   I use the command ?bps_form=clear without Litespeed cache enabled all is working
   fine, but when I simply activate the plugin (even with the caches and page optimizations
   disabled), the command ?bps_form=clear doesn’t work anymore.
 * It seems like a cache problem because when I clear all the caches the command
   works fine for the first time, but then no. I tried to exclude the url, the command,…
   and nothing worked.
 * Can you please help me?
 * Thank you in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblems-with-litespeed-cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/#post-15488820)
 * Hi Alex,
 * I wasn’t able to reproduce the issue on my test site, but probably I can’t properly
   activate LiteSpeed Cache on localhost.
 * The _(member directory)?bps\_form=clear_ URI tells BP Profile Search to clear
   the search cookies and then re-display the directory. Of course if that URI is
   cached the cookies are not cleared and the previously active search is repeated.
 * The solution should be to exclude the above URI from caching. I’m not sure how
   to do it with LiteSpeed, probably the LiteSpeed team could offer some advice.
 *  Thread Starter [alexbosch](https://wordpress.org/support/users/alexbosch/)
 * (@alexbosch)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/#post-15488890)
 * Hi Andrea;
 * Thank you for your answer. I altready tried to exclude the (member directory)?
   bps_form=clear URI and it didn’t work…
 * I also tried to exclude these cookies:
 * bp-members-scope
    bps_directory bps_request
 * And it worked neither… If you think any other option that could work it will 
   be appreciated.
 * I already contacted Litespeed support to ask for help. If they found the solution
   I’ll share it here.
 * Thank you.
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/#post-15492038)
 * Hi Alex,
 * I think you should only exclude from caching the _(member directory)?bps\_form
   =clear_ URI.
 * Do you have a way to confirm that the URI is not cached when you exclude it, 
   or are you receiving a cached copy anyway? There should be an HTML comment line
   by LiteSpeed at the end of the page.
 *  Thread Starter [alexbosch](https://wordpress.org/support/users/alexbosch/)
 * (@alexbosch)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/#post-15493164)
 * Hi Andrea;
 * We already found the problem. It was a line on the .htaccess file that was blocking
   the access to the Guest Mode php archive of the Litespeed plugin.
 * After solving that, it works fine with the cache exclusion of the URLs of the
   members directory and the /(members directory)/?bps_form=clear
 * Thank you so much for your help!
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/#post-15495726)
 * Alex,
 * You’re welcome! Glad you found the solution and thank you for posting it.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problems with Litespeed cache’ is closed to new replies.

 * ![](https://ps.w.org/bp-profile-search/assets/icon.svg?rev=1568973)
 * [BP Profile Search](https://wordpress.org/plugins/bp-profile-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-search/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [lscache](https://wordpress.org/support/topic-tag/lscache/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/problems-with-litespeed-cache/#post-15495726)
 * Status: resolved