View Single Post
  #2 (permalink)  
Old 06-01-2007, 10:57 AM
stymiee's Avatar
stymiee stymiee is offline
WebProWorld Veteran
 
Join Date: May 2006
Location: New Jersey
Posts: 429
stymiee RepRank 0
Default Re: Pointing new domains to existing domain

You'll need to do a 301 redirect or else you'll go into duplicate content hell. Fortunately this is not difficult to do. You'll need to add the following lines of code to a file called .htaccess and place it in the root directory of the website:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?old-domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]
__________________
John Conde
Brainyminds Merchant Account Services eBook Giant
Reply With Quote