Delete WordPress Old Folder in Dreamhost

If you are using Dreamhost to host your wordpress site.

When wordpress is upgraded by using one-click install, a copy of the wordpress folder will be store as xxx.com.old.

We would like to delete it to free some space, but is can’t be deleted completely. That is because¬†there are file (advanced-cache.php -> plugins/wp-cache/wp-cache-phase1.php) been locked and FTP user do not have permission to delete it. You have to be Shell User.

Change your permission using Manage User Function in Dreamhost Control Panel. Then using SSH clients such as Putty to telnet in your dreamhost FTP Server.

cd xxx.com.old
cd wp-content
rm advanced-cache.php

Leave a Reply