#1
  1. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Redirecting in advance of selling a domain


    I have two domains, let's call them example.com and example2.com.

    At the domain host, both domains point to the same directory. So both sites show the same content.

    I plan to discontinue example.com in preparation for selling it.

    While I still own example.com, is there a benefit to doing a 301 redirect to example2.com in .htaccess?

    If so, how? Because both sites point to the same directory, there is only one .htaccess file. So a 301 redirect would be in effect for both domains, yet I don't need to redirect example2.com back to itself.

    Any insights or suggestions on this appreciated!
  2. #2
  3. No Profile Picture
    Newbie
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0
    No responses so I'll answer my own question.

    Google says 301 redirects are important so I implemented it. This code in .htaccess redirects requests for pages at example.com, and only those requests, to the matching page on example2.com:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www\.)?example\.com$ [NC]
    RewriteRule ^(.*)$ http://example2.com/$1 [R=301,L]
  4. #3
  5. Senior Member
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    794
    Rep Power
    518
    Sorry you didn't get a response, but appreciate you sharing the answer for others who may have the same question!

Similar Threads

  1. Creating Backlinks from an Old Domain Redirecting to a New Domain
    By mikedy123 in forum Search Engine Optimization
    Replies: 1
    Last Post: Jun 16th, 2013, 06:00 PM
  2. Redirecting too an new domain with new content
    By syyll in forum Google Optimization
    Replies: 5
    Last Post: Jul 19th, 2011, 06:33 AM
  3. Effects of redirecting another domain to my main domain?
    By Oscar1 in forum Google Optimization
    Replies: 3
    Last Post: Sep 19th, 2007, 07:46 AM
  4. Domain redirecting
    By hame22 in forum Google Optimization
    Replies: 1
    Last Post: Feb 20th, 2006, 04:15 AM
  5. Redirecting old domain to new one
    By zokiiii in forum Google Optimization
    Replies: 7
    Last Post: Jan 26th, 2006, 07:26 AM

IMN logo majestic logo threadwatch logo seochat tools logo