We automatically LiteSpeed Cache and optimize all WordPress websites on your hosting account. There might be cases when you might want to disable automatic optimization.
Automatic optimization is enabled only for Shared, Reseller, and Semi Dedicated Hosting.
Disable from Control Panel
- Go to cPanel > LiteSpeed Web Cache Manager > WordPress Cache.
- Click "Scan". Wait for your domain to appear in the list.
- Click "Flag" next to your domain name.
- Done!
Alternative Method
You can disable automatic optimization by creating the following file inside your WordPress root directory.
File name: .litespeed_flag
Default WordPress root directory: public_html
The [.litespeed_flag] file is an empty file with a preceding dot [.].
Your WordPress root directory might differ if you installed WordPress on an addon domain. Make sure to create the file in the appropriate directory.
What is a WordPress root directory?
A root directory is a directory where the files of your website reside.
The [public_html] directory is the default root directory for your primary domain.
The default root directory of an addon domain is [youraddondomain.com].
You can see the root directories for your domains from cPanel > Domains.