Skip to content

In An Emergency : Uninstalling manually

Adnan Haque edited this page Nov 4, 2022 · 2 revisions

WP Super Cache has to modify configuration files that WordPress uses and on rare occasions the modifications fail which will cause an error when the website is loaded.

If you cannot load your site to remove or deactivate WP Super Cache you will have to edit the following configuration files, so the plugin does not load.

  1. Edit wp-config.php and delete the line that has the text WP_CACHE in it. Also, do the same with the line containing WPCACHEHOME.
  2. Edit the file .htaccess. It's probably in the same directory as the wp-config.php. You may need to "show hidden files" in your file manager to see it. Look for a line that says BEGIN WPSuperCache, and then scroll down to END WPSuperCache. You must delete any lines between those two.
  3. Delete the files wp-content/advanced-cache.php and wp-content/wp-cache-config.php

You should use the file manager provided by your hosting provider or an FTP tool to find the files on your host. You may not be allowed to edit the files because of their file permissions but your hosting provider should have documentation available on how to overcome this.