Title: Wp-config.php erased
Last modified: August 19, 2016

---

# Wp-config.php erased

 *  [coolambo](https://wordpress.org/support/users/coolambo/)
 * (@coolambo)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/wp-configphp-erased/)
 * Yup! erased, not deleted. This means the blog won’t open up. The blog header 
   is affected.
 * The whole php line and files actually gone, invisible, like cut out of the page.
   The kb is 0 meaning zero or zilch.
 * How do I put this item back.
 * address: public_html/wp-config.php
    viewed on file manager

Viewing 1 replies (of 1 total)

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [16 years, 10 months ago](https://wordpress.org/support/topic/wp-configphp-erased/#post-1132613)
 * Well, hopefully, you have a backup. If not, you can recreate it using the wp-
   config sample file included with WordPress. You’ll need to know the database,
   username, password, and server name.

Viewing 1 replies (of 1 total)

The topic ‘Wp-config.php erased’ is closed to new replies.

## Tags

 * [Blog Header](https://wordpress.org/support/topic-tag/blog-header/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/wp-configphp-erased/#post-1132613)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
