Jump to content

.htaccess file does not work on new hosting Plateform


Recommended Posts

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?

Edited by kennyanderson72

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...