title: Can I redirect all IE8 users for all sites on a server?
body: <p>I have W2008 running IIS and have about 20 websites (all PHP, about half are WP) running on it.  </p>
  
  <p>Currently I have this in the header on a few sites and it is working.  But it is getting hard to manage because even though I am the admin there are a lot of developers and they could overwrite the header if they wanted on most sites.</p>
  
  <pre><code>&lt;!--[if IE 8]&gt;
  &lt;script type="text/javascript"&gt;
          window.location = "http://example.com/wedontsupportIE8.html";
      &lt;/script&gt;
  &lt;![endif]--&gt;
  </code></pre>
  
  <p>Is there a way to set up a rule on the server that would have the same functionality?</p>
  
  <p><strong>ADDED NOTE:</strong></p>
  
  <p>I have added rules on web server and they basically don't work right.  I had the redirect to /home/index.php already working for the past 6 months.  When I add the new rule first it does the following:</p>
  
  <ul>
  <li>in IE8 - 404 error for any directory on site and it reverts to the root</li>
  <li>in IE10, FF, Chrome, Safari - it just redirects to /home as it should.</li>
  </ul>
  
  <p>webconfig below</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;system.webServer&gt;
      &lt;rewrite&gt;
          &lt;rules&gt;
    &lt;rule name="IE8rewriteall" patternSyntax="Wildcard"&gt;
                      &lt;match url="*" /&gt;
                      &lt;conditions&gt;
                          &lt;add input="{HTTP_USER_AGENT}" pattern="*MSIE*" /&gt;
                      &lt;/conditions&gt;
                      &lt;action type="Rewrite" url="http://example.com/ie/index.html" /&gt;
                  &lt;/rule&gt;
              &lt;rule name="Root Hit Redirect" stopProcessing="true"&gt;
                  &lt;match url="^$" /&gt;
                  &lt;action type="Redirect" url="/home/index.php" /&gt;
              &lt;/rule&gt;
          &lt;/rules&gt;
      &lt;/rewrite&gt;
  &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>