I have this code:
Code:
RewriteCond %{HTTP_HOST} ^\.oldwebsite\.co.il$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.oldwebsite\.co.il$ [NC,OR]
RewriteCond %{HTTP_HOST} ^\.newwebsite\.co.il$ [NC]
RewriteRule ^(.*)$ http://www.newwebsite.co.il/$1 [R=301,L]
What is wrong with this code. it is worked before very good but now it's don't work.
Maybe the problem is with the server?
Last edited by prog154; 08-25-2010 at 07:14 PM..
|