Title: 500 server error after editing function.php
Last modified: August 30, 2016

---

# 500 server error after editing function.php

 *  Resolved [natethegreatt1](https://wordpress.org/support/users/natethegreatt1/)
 * (@natethegreatt1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/500-server-error-after-editing-functionphp/)
 * Hey all,
 * I altered the header image size in my function.php code and immediately after
   my site will not load and shows “Server Error 500” when I try to go to the site.
 * I looked up some reasons and fixes but wanted to check here before I do anything.
   How can I fix this? Thank you!

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

 *  [wpfan1000](https://wordpress.org/support/users/wpfan1000/)
 * (@wpfan1000)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/500-server-error-after-editing-functionphp/#post-6736585)
 * Undo your edits 🙂
 * But seriously, you need to revert to an older version of functions.php.
 * Header size is typically specified using css – you haven’t indicated how you 
   changed the header size but typically you do it in a separate styles.css file.
 *  [Cody](https://wordpress.org/support/users/stearns208/)
 * (@stearns208)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/500-server-error-after-editing-functionphp/#post-6736621)
 * Like wpfan1000 said, you’ll need to undo (or fix) your edits. Log into your website
   via FTP (or thru cPanel’s File Editor) and you’ll be able to edit functions.php.
   What were you trying to edit?
 *  Thread Starter [natethegreatt1](https://wordpress.org/support/users/natethegreatt1/)
 * (@natethegreatt1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/500-server-error-after-editing-functionphp/#post-6736632)
 * I was editing the header width. I got my hosting service to help me fix it – 
   thanks for the help!

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

The topic ‘500 server error after editing function.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [natethegreatt1](https://wordpress.org/support/users/natethegreatt1/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/500-server-error-after-editing-functionphp/#post-6736632)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
