| Posted: 09 December 2009 at 10:07am | IP Logged
|
|
|
Hi!
I need help with a rewrite rule please...
I need to redirect 301 www.domain.com/* to the same URLs under www.domain.co.il/*
Now here's the issue. I would also need to NOT redirect www.domain.com/afile.html at all! This I don't know how to do...
Here's my start (which works):
-----------------------------------------------------
[ISAPI_Rewrite]
RewriteCond Host: ^www.domain.com RewriteRule /(.*) http\://www.domain.co.il/$1 [I,RP]
RewriteCond Host: ^domain.com RewriteRule /(.*) http\://www.domain.co.il/$1 [I,RP]
RewriteCond Host: ^domain.co.il RewriteRule /(.*) http\://www.domain.co.il/$1 [I,RP]
-------------------------------------------------
As always, I appreciate your help very much.
Thank you!
|