Title: Styling WordPress error pages
Last modified: August 19, 2016

---

# Styling WordPress error pages

 *  [kcire](https://wordpress.org/support/users/kcire/)
 * (@kcire)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/styling-wordpress-error-pages/)
 * When someone wants to leave a comment and forgets to fill out a required field
   it will be redirected to a ugly plain WordPress page that doesn’t fit the design.
 * I have looked into the specific file (wp-comments-post.php) but do not understand
   enough of it to alter all of this…
 * Is there a easy way to change the looks of error pages?
 * It seems to miss all header and footer things and so, but when I add these all
   hell breaks loose…

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

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 4 months ago](https://wordpress.org/support/topic/styling-wordpress-error-pages/#post-689951)
 * The actual location of this HTML is inside the wp-die() function in wp-includes/
   functions.php.
 * Short of editing that file, there’s no current way to change the look of that
   page.
 *  Thread Starter [kcire](https://wordpress.org/support/users/kcire/)
 * (@kcire)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/styling-wordpress-error-pages/#post-690005)
 * I will look into the functions.php, thanks! Maybe this is something to focus 
   on?…

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

The topic ‘Styling WordPress error pages’ is closed to new replies.

## Tags

 * [error pages](https://wordpress.org/support/topic-tag/error-pages/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [kcire](https://wordpress.org/support/users/kcire/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/styling-wordpress-error-pages/#post-690005)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
