W3 Validator Error I can’t Fix
I posted about this in an old thread but I want to make sure I get help, and log this problem in the slugs. I know other people have the same issue.
Well, here’s the error:
Line 2 column 0: character “” not allowed in prolog.
���<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3
I am assuming that it is coming from my header.php file, as that is where the doctype is specified. I have opened the file in both hex editors and text editors that allow me to see BOM (Byte Order Marks) but they are not there. I also think it is weird that it is calling it line two when my DocType is on line one. I have checked for line breaks and as far as i can tell, I cannot see any BOM marks.
I am using WP 2.1, the theme is based on “forestgreen” from the WP Theme Database and I am using a Mac computer with BBEdit as my primary editor.
Any ideas or help would be appreciated.
If you click home and validate it there’s no error, only on the other pages. Hmmm…?
- The topic ‘W3 Validator Error I can’t Fix’ is closed to new replies.