Title: WP Cache and wp-config
Last modified: August 30, 2016

---

# WP Cache and wp-config

 *  Resolved [tamia](https://wordpress.org/support/users/tamia/)
 * (@tamia)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp-cache-and-wp-config/)
 * I’m not sure how this happened — maybe with the latest WP update — but WP SuperCache
   was uploaded to my site and activated. I’m sure it’s a great plugin, but I don’t
   need nor want it, so I deactivated and then removed the plugin using the delete
   command on the admin page.
 * After some research on these forums I also modified the htaccess document, and
   now want to remove the WP-Cache lines on my wp-config. I’m not that familiar 
   with how to do this, so need some advice.
 * This is what is on the top of my wp-config document:
 * <?php
    // ** MySQL settings ** // //define(‘WP_CACHE’, true); //Added by WP-Cache
   Manager define( ‘WPCACHEHOME’, ‘/mnt/stor1-wc1-dfw1/380423/416159/www.tamiasoutside.
   com/web/content/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
 * Please tell me exactly what I have to remove. I don’t want away anything which
   will break my site.
 * Also, is there anything else I should remove via FTP, such as caches or logs 
   or anything?
 * Thanks very much.
 * Tamia
    tamiasotside.com
 * [https://wordpress.org/plugins/wp-super-cache/](https://wordpress.org/plugins/wp-super-cache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp-cache-and-wp-config/#post-6195966)
 * Take a backup of the file first and then delete:
 *     ```
       //define('WP_CACHE', true); //Added by WP-Cache Manager
       define( 'WPCACHEHOME', '/mnt/stor1-wc1-dfw1/380423/416159/www.tamiasoutside.com/web/content/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
       ```
   
 * But leave this in place:
 *     ```
       <?php
       // ** MySQL settings ** //
       ```
   
 * Also remove the files `wp-content/advanced-cache.php` and `wp-content/wp-cache-
   config.php` and the directory `wp-content/cache/
    `
 *  Thread Starter [tamia](https://wordpress.org/support/users/tamia/)
 * (@tamia)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp-cache-and-wp-config/#post-6196004)
 * Thanks very much barnez. Done. I appreciate the support.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP Cache and wp-config’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tamia](https://wordpress.org/support/users/tamia/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wp-cache-and-wp-config/#post-6196004)
 * Status: resolved