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
Current Favorites from Twitter
-
matthewbaldwin Matthew BaldwinI'm lucky it's a beautiful day for a walk because my bike tire just burst and I don't have a spare and I'm 4 miles from work. So, so lucky.
-
matthewbaldwin Matthew BaldwinRoses are red / Violets are blue / Oh god I forgot you are colorblind / I am an insensitive ass
-
matthewbaldwin Matthew BaldwinI dislike this trend of people being younger than me.
-





