WordPress.org

Forums

[resolved] IE gives 404 for existing URLs when clicked; need to refresh or paste URL (4 posts)

  1. angol
    Member
    Posted 7 years ago #

    In Firefox and Opera, clicking on links within my blog will take me to the URL and load the page all right.

    In Internet Explorer, however, when I click a link, the generic 404 page appears immediately (even though the URL exists, and I have a custom 404, anyway).

    When I refresh the 404 page, the page loads in IE, too.

    When I copy and paste the URL, it also loads fine in IE.

    (Strange thing: when I load a page this way, the menu link that points to that page doesn't change color, as it should be with a visited link. As if the pasted URL and the clicked URL were different, even though they are perfectly identical.)

    Site: angol-tanulas.hu

    Tested on: Firefox 2.0.0.7 / Opera 9.2 / IE6

    Permalink structure: /%post_id%/%postname%/

    If someone needs more info on specifics, I'd be glad to give more details.

    Thank you!

  2. angol
    Member
    Posted 7 years ago #

    In the meantime I had feedback that someone is having problems with viewing these pages even with Firefox.

    I have even disabled most of the plugins to test whether it's those plugins that cause it, but to no avail.

  3. angol
    Member
    Posted 7 years ago #

    Case solved.

    In .htaccess, directory listing was set to "Inherited". I've changed it to "On" and now the pages load fine.

  4. macmeister
    Member
    Posted 7 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:

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

Topic Closed

This topic has been closed to new replies.

About this Topic