Hello everyone, recently I moved my website from old Linux VPS Hosting to a new Linux Hosting provider, but I am facing a problem is the .htacess file for the new hosting but the file works fine for the old hosting. I used the .htaccess file to redirect people's browsers to another URL the codes are as follow:
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]
How can I make it work for the my new Linux hosting?
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]
How can I make it work for the my new Linux hosting?