Title: HTTP Error 500 after editing functions.php
Last modified: November 4, 2017

---

# HTTP Error 500 after editing functions.php

 *  [arton8](https://wordpress.org/support/users/arton8/)
 * (@arton8)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/http-error-500-after-editing-functions-php/)
 * Hi,
 * I added a small piece of code to the functions.php file of my child theme and
   then all of a sudden my website went down and I’m also unable to log-in to it
   with /wp-admin. I get an HHTP error 500 everytime I try to go to /wp-admin.
 * How can I fix this ?
 * Thank you

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 7 months ago](https://wordpress.org/support/topic/http-error-500-after-editing-functions-php/#post-9650814)
 * Undo the change(s) you made.
 * Download functions.php via FTP or through your hosting control panel, remove 
   the changes, and upload the file replacing the bad one.
 * NEVER EVER EVER EVER (ever? ever!) use appearance->editor to edit PHP files because…
   well you now know why.

Viewing 1 replies (of 1 total)

The topic ‘HTTP Error 500 after editing functions.php’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/http-error-500-after-editing-functions-php/#post-9650814)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
