Nathan
Nathan

Reputation: 319

Redirect due to browser?

I am wondering if there is a way to redirect users using a specific browser to a different page?

Upvotes: 0

Views: 101

Answers (2)

Arnaud Le Blanc
Arnaud Le Blanc

Reputation: 99909

<!--[if IE]>
<script> window.location='http://getfirefox.com'; </script>
<![endif]-->

Upvotes: 2

Kvass
Kvass

Reputation: 8434

First you could use JavaScript to detect the browser, and then you could set the window.location variable for the redirect.

Upvotes: 1

Related Questions