📢 Now you can audit the Performance, Accessibility, SEO, & best practices of ALL connected websites on one screen. Introducing Lighthouse

How to Remove the W3 Total Cache Plugin Cleanly

W3 Total Cache is a plugin which is used for page caching, minification and Redis integration, but it does come at a price. The codebase is old, and if not configured correctly, it can cause issues on the site it is being used on.

Using a different plugin or plugins for page caching, minification, and Redis object caching is possible, but means you need to remove all traces of the W3 Total Cache plugin. W3 Total Cache plugin on deactivation and deletion will not remove any of the files or changes it adds to a site.

Steps to clean all traces of the W3 Total Cache plugin include making sure to purge all caches before the plugin is deactivated and deleted.

If your site is using Apache or NGNIX in-front of Apache (which a number of hosts such as Cloudways will do), you need to remove all the W3 Total Cache entries into the site servers .htaccess file.

For example, the entries which start #BEGIN W3TC and then end with #END W3TC Page Cache core.

The following folders can be removed;

cache folder inside of the wp-content folder.
upgrades folder inside of the wp-content folder
w3tc-config folder inside of the wp-content folder.

The following files can be deleted if they exist from W3 Total Cache;

Manage all your WordPress sites with the MainWP Dashboard

WordPress Management for Professionals

Are you ready to go Pro?

All MainWP Pro Extensions are available through one of our convenient bundled packages.

  • advanced-cache.php
  • object-cache.php
  • Dbcache.php

If you are using a CDN for your site, remember to purge the cache.

Now that you have removed the files and folders the W3 Total Cache plugin added, you are safe to use other more solid options.

3 thoughts on “How to Remove the W3 Total Cache Plugin Cleanly”

  1. W3 Total Cache is not an application but a caching and minification plugin. There are many other solid caching plugins for WordPress. W3 Total Cache also has a very old legacy codebase.

Comments are closed.

Looking for something?

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.