Log in

View Full Version : Redirect 301 problem, help me please.


Yellow Slider
08-27-2007, 10:21 AM
this is my .htaccess file -
RewriteEngine On


RewriteRule ^or\/(.*)$ http://www.israelbody.com/$1 [R=301,L]

RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)
RewriteRule ^(.*)$ $1 [L]

RewriteCond %{HTTP_HOST} !^www\.atraf-f\.net
RewriteRule (.*) http://www.atraf-f.net/$1 [L,R=301]

RewriteRule ^\/(.*)$ http://www.iatraf.co.il/$1 [R=301,L]

I have one board which was on a directory in my root folder, and moved to a new domain with redirect 301.

it was one www.atraf-f.net/or and moved to www.israelbody.com

now, I have another board on www.atraf-f.net which I want to move to - www.iatraf.co.il
with redirect 301.

I need a script that will redirect all the files in atraf-f.net to www.iatraf.co.il.
and that the redicrect from atraf-f.net/or will still work, and it will be redirected to www.israelbody.org with all the files (like it is now), It's a complicated thing to do :\

Can you help me please?, thanks.