Redirect all traffic to root of another domain
snippet in htaccess

Redirect all traffic to root of another domain

user3213

Options +FollowSymLinks -MultiViews
RewriteEngine on

RewriteCond %{HTTP_HOST} ^(www\.)?old\.com$ [NC]
RewriteRule ^ http://www.new.com/ [R=301,L]