Forums

[resolved] Redirect IE6 users to another page (4 posts)

  1. Allen Tullett
    Member
    Posted 2 years ago #

    I am producing a site that will be accessed by public sector workers who maybe using IE6, I say maybe as where I am based we still are using 6 but shortly upgrading to 8. I would rather not create an additional CSS file for IE6, and instead redirect these users to another, more static page. After having tried various PHP attempts from searching the web nothing has worked so far. Does anybody know of a plugin or script that can solve this for me?

    Thanks in advance

  2. annedorko
    Member
    Posted 2 years ago #

  3. Allen Tullett
    Member
    Posted 2 years ago #

    Hi Anne

    I was unsure how I could best use that to redirect, but after some searching and playing around I came up with another solution. Since my website has a homepage specific template I inserted the following:

    <!--[if lte IE 6]>
    <meta http-equiv="refresh" content="0; url=/home_ie6" />
    <script type="text/javascript">
    /* <![CDATA[ */
    window.top.location = '/home_ie6';
    /* ]]> */
    </script>
    <![endif]-->

    This worked perfect for me. Thank you very much for your help though.

    Allen

  4. Darren Turpin
    Member
    Posted 1 year ago #

    Ah, excellent. A solution to my current IE6 problem, almost as soon as I started searching... many thanks for posting!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags