Ready to get started?Download WordPress


404 Not Showing In IE (4 posts)

  1. datex
    Posted 6 years ago #


    I have installed the theme. When typing a filename not existing I get the 404 File Not Found (template version) when using FireFox and Opera but when using Internet Explorer i get the ordinary (server) 404 File Not Found. What might be wrong?

    I use the template blueline-10

  2. macmeister
    Posted 6 years ago #

    Same problem here. Did you find a solution to this? I hit refresh a few times, and the custom 404 eventually shows up. STRANGE! I imagine a header or .htaccess tweak could cure this, but not certain what.

  3. Stevish
    Posted 6 years ago #

    Apparently (and I haven't tested it, as I just found the answer), IE looks at the size of the 404 page. If the file is over 512 bytes, then it will display that page. Otherwise, it displays its own "friendly" 404 error. It's micro$oft trying to think for us.

  4. macmeister
    Posted 6 years ago #

    Placing these 2 items above the get_header at the very top of my 404 file appears to have fixed it for me. I know my file was over the 512 bytes as well. Very strange behavior, but these 2 lines appear to have done it! Hopefully others can benefit from this as well... That's why my multiple posts.

    <?php ob_start(); ?>
    <?php header("HTTP/1.1 404 Not Found"); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic