WordPress 404 error pages not displaying in IE 8
Chalk this up to yet another reason to hate on Internet Explorer. IE 8 has at least three points of failure for your custom error pages. It will display its own error pages instead of yours if:
- Your error page is under 512 bytes
- The user has “friendly HTTP error messages turned off.” Some claim this is the default setting, it wasn’t in my installation.
- Internet Explorer just doesn’t feel like showing it. No, seriously. Sometimes it works, sometimes it doesn’t with the exact same setup.
Thanks to WPCanada, I was able to force the browser to recognize my custom 404 page by adding this code to the very top of 404.php:
About me
I'm a web developer, designer, writer, communications professional, former newspaper journalist, Wordpress evangelist, news junkie, pop culture addict AND MORE! Currently employed as the Technical Communications Specialist at the Seattle Housing Authority.
My Favorite Thing Ever Right Now
Tim Tebow 80 Yard Game Winning Touchdown Pass to Demaryius Thomas - 2011-2012 AFC Wildcard (by TheNFLonDemand)
Latest from Twitter
-
generalgentry Laura GentryHow bougie is it that @carollani and I are going to buy a child's bike trailer for our dog tonight?
-
generalgentry Laura GentryDamn, a 3rd grader was shot at school??
Current Favorites from Twitter
-
michaelianblack Michael Ian BlackSocks. Sometimes they feel good to put on, sometimes they feel good to take off. Crazy shit, man.
-







