• On my site I’ve included a redirect in the form of this:

    <object><noscript>
    <?
    if ( is_front_page()) {
    ?>
    <META HTTP-EQUIV=”refresh” CONTENT=”0;URL=<?php echo get_option(‘siteurl’); ?>/?page_id=157″>
    <?
    } else { ?>
    <? } ?>
    </noscript></object>

    …so that if someone visits the site with Javascript disabled, they get redirected. Internet explorer also follows this redirect as well, but once it has been redirected to page 157, or any page for that matter, it continues to redirect over and over again despite not being the_front_page.
    When Javascript is disabled, other browsers redirect and sit still with no problem, but why does Internet Explorer continually execute this conditional code when the condition has not been met?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘is_front_page and other conditionals ignored by Internet Explorer?’ is closed to new replies.