Title: config.php erasing itself
Last modified: August 18, 2016

---

# config.php erasing itself

 *  [growlydidge](https://wordpress.org/support/users/growlydidge/)
 * (@growlydidge)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/configphp-erasing-itself/)
 * Can anyone think of a way the config.php file would dump all the code that’s 
   in it? My site wouldn’t load today, and when I started exploring why I noticed
   that the config file was empty. When I copied everything back in from my backup
   it worked.

Viewing 1 replies (of 1 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/configphp-erasing-itself/#post-481038)
 * Clarifying question: config.php or wp-config.php?

Viewing 1 replies (of 1 total)

The topic ‘config.php erasing itself’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Chris_K](https://wordpress.org/support/users/handysolo/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/configphp-erasing-itself/#post-481038)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
