Title: Fixing validation errors
Last modified: August 19, 2016

---

# Fixing validation errors

 *  [eastsidepatch](https://wordpress.org/support/users/eastsidepatch/)
 * (@eastsidepatch)
 * [16 years ago](https://wordpress.org/support/topic/fixing-validation-errors/)
 * Hi all.
 * I am validating my wordpress blog via: [http://validator.w3.org/](http://validator.w3.org/)
   and found I have some 400 errors! Yikes. It is now messing with my layout in 
   various browsers.
    All I want to ask is, which file do I edit to correct these
   errors?
 * Can somebody please help me as to how to do this.
    Thanks in advance.
 * [http://www.eastsidepatch.com](http://www.eastsidepatch.com)

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

 *  [ambrosite](https://wordpress.org/support/users/ambrosite/)
 * (@ambrosite)
 * [16 years ago](https://wordpress.org/support/topic/fixing-validation-errors/#post-1472610)
 * Probably all of the template files contain errors. Start with header.php and 
   go from there. Work your way down the error list, and correct the ones at the
   top first. Sometimes fixing one error will fix ten more further down the list.
 *  Thread Starter [eastsidepatch](https://wordpress.org/support/users/eastsidepatch/)
 * (@eastsidepatch)
 * [16 years ago](https://wordpress.org/support/topic/fixing-validation-errors/#post-1472635)
 * Hi ambrosite.
    I am sorry, but I am still having a hard time understanding “where”
   I make these fixes. What file am I supposed to be editing? My custom CSS? php?
   Please expand. Thanks. ESP.
 *  [ambrosite](https://wordpress.org/support/users/ambrosite/)
 * (@ambrosite)
 * [16 years ago](https://wordpress.org/support/topic/fixing-validation-errors/#post-1472643)
 * That particular validator is checking your XHTML markup, so for that you are 
   only concerned about the PHP files (there is a CSS validator as well, but don’t
   worry about that right now). Without examining your theme in detail, I could 
   not tell you exactly which PHP files to edit, but you should start with header.
   php, and work through the errors one at at time.
 *  Thread Starter [eastsidepatch](https://wordpress.org/support/users/eastsidepatch/)
 * (@eastsidepatch)
 * [16 years ago](https://wordpress.org/support/topic/fixing-validation-errors/#post-1472651)
 * The problem only exists on my ‘home’ page…click on any other page in my site 
   and all is well. Does this give you any ideas as to the culprit files?
    So how
   do I find out what code I need to change in the header.php file? That is how 
   do I get the validator to check this header? Thanks ESP.

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

The topic ‘Fixing validation errors’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [eastsidepatch](https://wordpress.org/support/users/eastsidepatch/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/fixing-validation-errors/#post-1472651)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
