.htaccess file does not work on new hosting Plateform

Not open for further replies.
Jan 26, 2022
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?
This sounds like an issue you need to discuss with your new Linux hosting provider. Perhaps, if you tell us your new provider, someone might have come across a similar issue and can help you.

-Wolf sends
Not open for further replies.