How to disable automatic WordPress optimization?

 

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


  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.

 

  • 199 Users Found This Useful
Was this answer helpful?

Related Articles

How to install WordPress?

You can use Softaculous or WordPress Toolkit Deluxe to install and manage WordPress, depending on...

How to create a WordPress staging site or clone?

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

How to reduce resource consumption of WordPress?

High resource usage is often caused by plugins and themes. In most cases, uninstalling...

How to automatically update WordPress using Softaculous?

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

How to import or remove or uninstall WordPress in Softaculous?

  Softaculous allows easier management of websites. You can install, update, backup, clone,...