Title: LiteSpeed Cache Plugin htaccess code not found
Last modified: December 9, 2020

---

# LiteSpeed Cache Plugin htaccess code not found

 *  Resolved [zztype](https://wordpress.org/support/users/zztype/)
 * (@zztype)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-htaccess-code-not-found/)
 * With yesterday’s update to WordPress 5.6, Bulletproof Security on every single
   one of my sites now requires me to log in, unlock the htaccess file, go to the
   LiteSpeed Cache Plugin settings, save the settings, return to BPS Setup Wizard,
   and run the BPS Setup, again.
 * It works on some sites; it doesn’t work at all on other sites.
 * I run over 100 sites. This will take me days to sort out. Is there no simpler
   solution? Why was this not an issue before yesterday?
 * Thanks for any insight.

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-htaccess-code-not-found/#post-13766841)
 * The HUD AutoFix checking code for caching plugins is now more extensive to check
   for every possible scenario that may need to be fixed by Setup Wizard AutoFix.
   If you are not using Browser caching options in LiteSpeed Cache or your server
   type does not allow htaccess code (you can only use Option #1 for this scenario)
   then you can do either one of these 2 options below.
 * Option #1:
    1. Go to the Setup Wizard Options page. 2. Change this option setting
   > AutoFix (AutoWhitelist|AutoSetup|AutoCleanup) > to AutoFix Off.
 * Option #2:
    1. Copy these placeholders below for LiteSpeed Cache: Note: “END 
   NON_LSCACHE” is correct and not a typo/mistake. # BEGIN LSCACHE # END NON_LSCACHE
 * 2. Go to BPS Pro > B-Core > Custom Code > click the Root htaccess File Custom
   Code accordion tab/button.
    3. Paste the placeholders above for LiteSpeed Cache
   in this Custom Code text box: 1. CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE
   4. Click the Save Root Custom Code button. 5. Go to the Security Modes page and
   click the Root Folder BulletProof Mode Activate button.
    -  This reply was modified 5 years, 6 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
    -  This reply was modified 5 years, 6 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-htaccess-code-not-found/#post-13766949)
 * Oh and sorry for the inconvenience. 😉
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-htaccess-code-not-found/#post-13803725)
 * Assuming all questions have been answered – the thread has been resolved. If 
   the issue/problem is not resolved or you have additional questions about this
   specific thread topic then you can post them at any time. I still receive email
   notifications when threads have been resolved.

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

The topic ‘LiteSpeed Cache Plugin htaccess code not found’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-htaccess-code-not-found/#post-13803725)
 * Status: resolved