ie6countdown

於 facebook 社團內聊起老話題 .htaccess 內的規則,把網站上很久沒改的檔案下回來看看,看到之前為支持有關讓 IE6 退休的活動所新增的規則,這邊貼上來分享一下。

#BEGIN IE6 Countdown
#If the user agent is IE2~6, redirect it to the countdown site.

	RewriteEngine On
	RewriteBase /
	RewriteCond %{HTTP_USER_AGENT} "MSIE [2-6]"
	RewriteRule . http://ie6countdown.tw/ [R=303,L]

#END IE6 Countdown

註:現在應該可以加上 IE7 了


Posted

in

by

Tags: