I want my site to block access to visitors that are using outdated browsers such as IE6 and IE7 etc.
I am looking for a script that I can use to block certain browsers accessing my site
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
You can detect older versions of Internet Explorer using the IE Conditional Comments feature. The following snippet when included in a web page will redirect versions older than IE 8 to a separate page -
The browser can also be detected through server-side code.