Title: [Plugin: WP Super Cache] Cannot delete cache folder after uninstall
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] Cannot delete cache folder after uninstall

 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/)
 * I installed WP-Super-Cache but couldn’t get it to work. I had the same problem
   with the Mod Rewrite as [here](http://wordpress.org/support/topic/178080?replies=1).
   Anyway, I figure WP-Cache will be enough for my needs. So I set about uninstalling.
   All went fine but I cannot remove the cache folder. I chmod it to 777 but permission
   is denied – the owner/group is httpd and this might be the problem. I had the
   same problem with the advanced-cache.php (folder-looking file) but moving it 
   into another folder and then deleting that folder (of which I was the owner/group)
   worked. This approach does not work with the cache folder since I do not have
   permission to move it. I even backed up my wp-content folder, without the rogue
   cache folder, and tried to delete the wp-content folder on the server. Of course
   everything else deleted except the cache folder!
 * Any help on how I can remove this dang folder is much appreciated!

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/page/2/?output_format=md)

 *  [simulationelson](https://wordpress.org/support/users/simulationelson/)
 * (@simulationelson)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772356)
 * You said it! This is starting to bug me badly. Can we hear any reply from the
   author?
 *  [Joshua Knowles](https://wordpress.org/support/users/knowlezie/)
 * (@knowlezie)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772400)
 * BUMP
 * I followed the directions for uninstalling, however, I can not delete the /wp-
   content/cache folder. What do I do?
 *  [passegua](https://wordpress.org/support/users/passegua/)
 * (@passegua)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772404)
 * Same problem: cannot delete or open advanced-cache.php
 * please tell us how to uninstall wp-cache!
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772405)
 * Ask your host to restore the permissions on it for you. This sort of thing only
   happens on certain hosts.
 *  [passegua](https://wordpress.org/support/users/passegua/)
 * (@passegua)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772406)
 * the advanced-cache.php has 777 chmod, what should I ask for?
    If I try to delete
   or change permission:
 * 550 Could not change perms on advanced-cache.php: No such file or directory
 * Moreover, what if it stuck again?
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772407)
 * > _what should I ask for?_
 * Err… ask them to fix it? Seems obvious to me.
 * > _Moreover, what if it stuck again?_
 * Then you ask them to fix it again.
 *  [passegua](https://wordpress.org/support/users/passegua/)
 * (@passegua)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772408)
 * Well I mean: couldn’t I ask them to avoid this problem in the future so I shall
   be able to fix it by myself?
 * I don’t understand how is it possible I cannot delete a folder and “they” can.
 * thanks
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772409)
 * > _Well I mean: couldn’t I ask them to avoid this problem in the future so I 
   > shall be able to fix it by myself?_
 * You can try, sure. I doubt you’ll have much success with that though. It’s a 
   matter of their main webserver configuration, it seems unlikely they’re going
   to go to the large amount of trouble to fix what is really a rather minor issue
   if they have not done it already.
 * > _I don’t understand how is it possible I cannot delete a folder and “they” 
   > can._
 * They know the root password. You do not. A root user can do anything.
 *  [passegua](https://wordpress.org/support/users/passegua/)
 * (@passegua)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772410)
 * all right, that’s more than enough! many thanks, I am waiting them to fix that.
   
   I am not sure to try again installing a plugin with such an issue, at least in
   my own host provider case.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772411)
 * It’s not an issue with the plugin, it’s an issue with the server itself. You 
   don’t own the files created by the webserver user, nor do you have permissions
   to modify them. The security is too strict, basically. There’s ways around this
   issue, but they have to be explicitly set up in advance.
 * Check some of your uploaded images that you’ve put there via the WordPress uploader.
   Bet you a nickel that you can’t manually delete some of them either. 🙂
 *  [passegua](https://wordpress.org/support/users/passegua/)
 * (@passegua)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772412)
 * I tried some, I can delete them, anyhow you are right, the problem is on the 
   server side 🙁
    so I am afraid to install it again in order to avoid further 
   headache.
 *  Thread Starter [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772413)
 * Thanks for the solution Otto. I had hoped that going through the host’s tech 
   support could be avoided but ah well…
 * I agree with passegua on the issue being with WP Super Cache in a more global
   sense, since it is what created the problem folder in the first place. It’s not
   that I don’t completely and utterly respect Donncha O Caoimh’s excellent work,
   but there surely must be a way that this folder can be created without having
   to revert to the host everytime it needs to be uninstalled?
 *  [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772414)
 * Dr C – you could clear the cache, and then write a short bit of code in a php
   file like this:
    `rmdir( 'cache/supercache/' );` `rmdir( 'cache' );`
 * Put that file in the wp-content directory and call it directly. That’ll remove
   the cache folder.
 * I’ll see if I can add that to the plugin.
 *  Thread Starter [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772415)
 * Thanks for replying Donncha. When I went back to apply your fix the permissions
   had been changed and I was able to delete it directly – I was not previously 
   able to do this. Perhaps the host has changed something in the meanwhile?
 * Anyway, thanks for you help. I presume that between Otta’s and your fix this 
   topic is now resolved?
 *  [gofree](https://wordpress.org/support/users/gofree/)
 * (@gofree)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/#post-772418)
 * I tried this
 * rmdir( ‘cache/supercache/’ );
    rmdir( ‘cache’ );
 * but when I open it, it just turn back the text
    rmdir( ‘cache/supercache/’ );
   rmdir( ‘cache’ );
 * Any solution?

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/page/2/?output_format=md)

The topic ‘[Plugin: WP Super Cache] Cannot delete cache folder after uninstall’ 
is closed to new replies.

 * 24 replies
 * 12 participants
 * Last reply from: [psionmark](https://wordpress.org/support/users/psionmark/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-super-cache-cannot-delete-cache-folder-after-uninstall/page/2/#post-772463)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
