Hi guys. I want any users, using IE, to be redirected to a certain page on my site. I installed this plugin, PHP Browser Detection WordPress › PHP Browser Detection « WordPress Plugins
IE browser detect and redirect
7
Hi guys. I want any users, using IE, to be redirected to a certain page on my site.
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.
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.
- SteveJohnson
- [1] reply
- thedog
- AdFocus
- [1] reply
- thedog
Next Topics on Trending Feed
-
7