Title: Header.php File Error
Last modified: August 21, 2016

---

# Header.php File Error

 *  [TheB741](https://wordpress.org/support/users/theb741/)
 * (@theb741)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/)
 * I believe I am using the most up-to-date version of wordpress.
 * So I wanted to remove the search bar in my header area on my website. So I tried
   to delete the search bar code in the header.php file. I most have deleted the
   wrong code because when I went to my site I had an error in the HTML file. I 
   try to go back to fix the error because I copied the code I deleted, but to no
   avail. I cannot even edit my site, nor can I get on it. I am using FushionTheme
   from ElegantThemes if that helps. I tried to reset the header.php file but I 
   do not know how, nor do I know how to delete to hopefully have wordpress generate
   a new one. Right now, I cannot get onto my site, [TheLoneTree](http://www.thelonetree.org).
   Please, if you have any idea at all how to fix this it would be greatly appreciated
   if you could share it with me. Thanks again.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/#post-4563149)
 * Re-upload a fresh, unpacked, copy of the theme’s folder to wp-content/themes 
   using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management
   application your host provides.
 *  Thread Starter [TheB741](https://wordpress.org/support/users/theb741/)
 * (@theb741)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/#post-4563150)
 * How do I do that?
 *  Thread Starter [TheB741](https://wordpress.org/support/users/theb741/)
 * (@theb741)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/#post-4563155)
 * Where is the wp-content/themes area? Sorry I am new at this 🙂
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/#post-4563164)
 * You need to use FTP or whatever file management application your host provides.
   The wp-content folder can be found inside the folder that you originally installed
   WordPress into. The themes folder will be inside the wp-content folder.
 *  Thread Starter [TheB741](https://wordpress.org/support/users/theb741/)
 * (@theb741)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/#post-4563166)
 * Okay thank you. This topic will be unresolved though until I fix my error…

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

The topic ‘Header.php File Error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [TheB741](https://wordpress.org/support/users/theb741/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/headerphp-file-error/#post-4563166)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
