How to Remove the W3 Total Cache Plugin Cleanly

Published on September 9, 2019 by Sebastian Moran in MainWP Blog under Tips & Tricks
Heads up: This page may include affiliate links. Read the full disclaimer.

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;

  • 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 comments

  • I think W3 Total Cache is the best application available today.

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

  • W3 Total Cache is the best application available today.

Comments are closed.

Share

Manage Unlimited WordPress Sites from One Dashboard!

  • Privacy-first, Open Source, Self-hosted
  • Easy Client Management
  • 15+ & 30 + Premium Add-ons
  • Bulk Plugins & Themes Management
Get Pro Now

Categories

Recent Posts

Search MainWP.com

[searchwp_form id="1"]