Changing domain names? Don't lose your rankings

Discussion in 'Search Engine Optimization' started by Possibility, Mar 12, 2008.

  1. #1
    Here is a common question among new webmasters: if I want to change my domain name, how do I keep my positions in the search engines? You can’t. You have to start from scratch.

    Just kidding. The fix is fairly simple, though I do warn you - you may lose a little ranking for a while, but it shouldn’t be anything major. What you want to do is set up a permanent (301) domain redirect, such that if someone visited your old domain at oldDomain.com/folder/page.html, they would automatically be forwarded to newDomain.com/folder/page.html. Same idea with the search engines - when the bots crawl your site, they will be redirected by this 301 which tells them that the redirect is permanent and that they should update their databases accordingly.

    So how do you do this? Easy as eating pie! But maybe not quite as fun…anyways, I digress. It’s just three simple lines of code to put into your .htaccess file:

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

    Obviously changing the domain names to their appropriate values.

    Viola! Done. However, it may take a while for you to see the domain change in search results.
     
    Possibility, Mar 12, 2008 IP
  2. EliteSEM

    EliteSEM Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I represent a company that is asking for the most efficient way to accomplish this. Thanks for the tip.
     
    EliteSEM, Mar 12, 2008 IP
  3. Possibility

    Possibility Peon

    Messages:
    350
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    My pleasure :)
     
    Possibility, Mar 12, 2008 IP
  4. Himalayan

    Himalayan Well-Known Member

    Messages:
    420
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Changing of domain name or redirecting the pages of any website affects keyword rankings in search engines.
     
    Himalayan, Mar 12, 2008 IP
  5. dpking

    dpking Peon

    Messages:
    1,021
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    SEO Redirect Yes this will help and as far as i know page juice will be shifted to new domain ;)
     
    dpking, Mar 12, 2008 IP
  6. Possibility

    Possibility Peon

    Messages:
    350
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes, there is no way to get around this. However, I use this technique to minimize its effects.
     
    Possibility, Mar 13, 2008 IP