I just moved my website from a old classic Godaddy Linux hosting to a new cPanel one. There's a problem: The .htacess file does't work for the cPanel hosting (it works well for the classic hosting).
I use the .htaccess file to redirect people with Chinese browsers to another URL (google.com). the codes are as follow:
How can I make it work for the cPanel hosting?
I use the .htaccess file to redirect people with Chinese browsers to another URL (google.com). the codes are as follow:
Code:
#BEGIN Block Chinese Browser
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ^zh-cn.*$ [NC,OR]
RewriteCond %{HTTP:Accept-Language} ^zh.*$ [NC]
RewriteRule ^.*$ http://www.google.com [R=302,L]
#END Block Chinese Browser