Title: default theme &#8211; customize error messages?
Last modified: August 18, 2016

---

# default theme – customize error messages?

 *  [cnm212](https://wordpress.org/support/users/cnm/)
 * (@cnm)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/default-theme-customize-error-messages/)
 * I am using the default theme/template as a foundation to create my own theme/
   template. Say you are on the comment page and hit submit comment without putting
   any information in, it will take you to a page sans-template with just one line
   of text as an error message.
 * How would I go about creating customized WP error pages for pages like this? 
   It does not have to be too stylized but I would like to do something a little
   more then what is there.
 * Any help would be appreciated…
 * thanks!

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/default-theme-customize-error-messages/#post-295335)
 * Maybe this will get you started:
    [Creating_an_Error_404_Page](http://codex.wordpress.org/Creating_an_Error_404_Page)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/default-theme-customize-error-messages/#post-295344)
 * I hate to contradict Michael 🙂 but those messages are not on a “normal” webpage
   that can be styled/designed. They are coming from the file `wp-comments-post.
   php` as “die” error messages: look at the address bar when they are displayed
   and check the source. There is nothing in the source that you can “customize”.

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

The topic ‘default theme – customize error messages?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/default-theme-customize-error-messages/#post-295344)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
