IE browser detect and redirect
I installed this plugin, PHP Browser Detection WordPress › PHP Browser Detection « WordPress Plugins
and put the following code in my head tag, in header.php
<?php if ( is_IE ) { <meta http-equiv="refresh" content="0;url=http://www.site.com/test.html" /> }; ?>
I also tried this, but no joy,
<?php if ( is_IE ) { window.location="http://www.yourdomain.com/redirectfile.html"; }; ?>
I just got an error code.
Can someone please tell me the best way to do this, thanks.
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."