Title: Theme Folder Getting Deleted Automatically
Last modified: August 22, 2016

---

# Theme Folder Getting Deleted Automatically

 *  [swaransoft](https://wordpress.org/support/users/swaransoft/)
 * (@swaransoft)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/)
 * Dear WordPress Team
    We are working on 4.0 wordpress & facing an issue of content
   under Themes folders getting deleted automatically. Our website is hosted at 
   [http://test.honda2wheelersindia.com/](http://test.honda2wheelersindia.com/)
 * We have multiple wordpress instances inside main website. Once we upload the 
   files after few hours following happens:
    1. Under /public_html/wp-content themes
   folder data gets deleted 2. A new folder Themes_backup gets created under /public_html/
   wp-content/themes_backup with a .zip file & .htaccess with deny from all statement.
 * After this our website goes down & we seek your support.
 * We are running on linux server ( CentOS & Cpanel). Sitelock is installed with
   smart scan on. So far it shows no malware in the site.
 * Advice how should we stop this compromise.
 * Regards
    Yogesh Huja

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

 *  Thread Starter [swaransoft](https://wordpress.org/support/users/swaransoft/)
 * (@swaransoft)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814693)
 * Hi WordPress Community
 * We just found similar issue reported at [https://wordpress.org/support/topic/themes-directory-keeps-auto-deleting?replies=8#post-6630922](https://wordpress.org/support/topic/themes-directory-keeps-auto-deleting?replies=8#post-6630922)
 * Pleas advice we are rolling between rollbacks of new website every time we launch
   it.
 *  [Jon (Kenshino)](https://wordpress.org/support/users/kenshino/)
 * (@kenshino)
 * Lord Jon
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814694)
 * Perhaps you’re not facing a malware but a cronjob that someone wrote.
 * Just a guess.
 *  [lakimailer](https://wordpress.org/support/users/lakimailer/)
 * (@lakimailer)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814695)
 * I posted this on the above link too.
 * Nope. I did try everything I could think of but still cant find what is causing
   the auto delete. Sometimes it can take a few days and sometimes a few hours. 
   My main suspect is my Nextgen gallery plug in (everybody is telling me it’s not
   WordPress that deletes the directory) but I couldn’t find any line or command
   that would do it yet. Now I’m thinking of redoing the site all together but the
   problem is I can’t. I need the Nextgen… In short – no solution yet 🙁 Also a 
   Linux dedicated server.
 * And I also checked my server and it’s completely clear of any malware and there
   are no cronjobs (no scheduled tasks)or anything like that. It just deletes itself
   and that’s it.
 *  [isaac.austinwebanddesign](https://wordpress.org/support/users/isaacaustinwebanddesigncom/)
 * (@isaacaustinwebanddesigncom)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814758)
 * Hi.
 * We’re in the same boat with another templatemonster Cherry theme, 52569. We’re
   confident it’s caused by Cherry’s backup function. We can tell because, just 
   before the theme gets deleted, cherry creates a bunch of .zip files in the backup
   area.
 * This is similar to another Cherry problem we’ve had where the themes folder reverts
   to a backup automatically. We haven’t been able to conclusively solve the related
   problem or this one.
 * I’ve tried contacting TemplateMonster but all they ever do is deny deny deny.
   Sad.
 * Not sure what we’ll do. Client’s site goes live this week and they will not be
   amused when it inevitably fails.
 *  Thread Starter [swaransoft](https://wordpress.org/support/users/swaransoft/)
 * (@swaransoft)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814766)
 * Guys seems we can go this way & ensure cherry framework doesn’t mingles with 
   your website.
 * Turn off auto-update feature of Cherry Framework.
    Go to open the CherryFramework/
   admin / data_management / data_management_interface.php file and comment this
   line:
 * include_once (PARENT_DIR . ‘/admin/data_management/update.php’);
 * Use this & let me know if your issues are fixed. The only draw backs are you 
   will not get updates from cherry guys but its worth living this way rather than
   a down website.
 *  [birdog123](https://wordpress.org/support/users/birdog123/)
 * (@birdog123)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814771)
 * If template monster detects the theme has not been paid for on a domain OR a 
   template demo is being used outside of their tos they can automatically delete
   the them from you WordPress install without notice FYI.
 * I am not saying that is what these issues are, but it is worthy to mention that
   hear just in case . . .
 * Be sure you theme from them is paid for in full, registered via their process,
   and don’t use demo themes outside of their tos.
 * Will that clear up all instances of this annoying issue? Likely not, but maybe
   it will help some folk!
 * 🙂

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

The topic ‘Theme Folder Getting Deleted Automatically’ is closed to new replies.

## Tags

 * [compromise](https://wordpress.org/support/topic-tag/compromise/)
 * [themes folder](https://wordpress.org/support/topic-tag/themes-folder/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 5 participants
 * Last reply from: [birdog123](https://wordpress.org/support/users/birdog123/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/theme-folder-getting-deleted-automatically/#post-5814771)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
