View Single Post
  #2 (permalink)  
Old 12-02-2006, 11:21 AM
stymiee's Avatar
stymiee stymiee is offline
WebProWorld Veteran
 

Join Date: May 2006
Location: New Jersey
Posts: 431
stymiee RepRank 0
Default

You'll need to add the following lines of code to a file called .htaccess and place it in the root directory of the old domain:
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