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 install LiteSpeed Cache for WordPress?

We automatically install and enable the LiteSpeed Cache for WordPress Plugin (LSCWP) on your...

How to send an email from WordPress?

You can easily send email from WordPress using SMTP. You need to create an email account and use...

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