How to disable automatic LiteSpeed Cache installation?

 

We automatically install LiteSpeed Cache and optimize all WordPress websites on your hosting account. There might be cases when you might want to disable automatic LiteSpeed Cache installation.

Automatic LiteSpeed Cache installation is enabled only for Shared, Reseller, and Semi Dedicated Hosting.

 

Disable from Control Panel


  1. Go to cPanel > LiteSpeed Web Cache Manager > WordPress Cache.

  2. Click "Scan". Wait for your domain to appear in the list.

  3. Click "Flag" next to your domain name.

  4. 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.

 

  • 200 Users Found This Useful
Was this answer helpful?

Related Articles

How to install WP-CLI (WordPress CLI)?

You can install WordPress CLI using SSH. It can be installed without root access. If you do not...

How to change WordPress admin password?

The admin password of WordPress can be changed in multiple ways without knowing the password....

How to automatically update WordPress using Softaculous?

You can automatically update WordPress using Softaculous. By default, Softaculous updates WP core...

How to clone or stage a WordPress website using Softaculous?

  A staging site or clone allows you to test website settings, plugins, and themes before...

How to clone or stage a WordPress website using WP Toolkit?

  WP Toolkit allows you to clone your existing website. You can use the cloned site as a staging...