Changing site url, need advice

Discussion in 'Search Engine Optimization' started by simonf_71, Apr 20, 2006.

  1. #1
    I am planning to change my site url from xyz.com to abc.com. They both reside on the same server. The hosting company advice me to change the domain account and park xyz.com on top of abc.com.

    Is this the best option of doing it so that I don't lose my PR and search engine still able to update their index?
     
    simonf_71, Apr 20, 2006 IP
  2. Will.Spencer

    Will.Spencer NetBuilder

    Messages:
    14,789
    Likes Received:
    1,040
    Best Answers:
    0
    Trophy Points:
    375
    #2
    The best that you can do is to implement a 301 Redirect from your old domain to your new domain.
     
    Will.Spencer, Apr 20, 2006 IP
  3. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #3
    IMO I think it will be difficult to keep same PR. park, and use permanent redirect would be ok, can't expect same PR.
     
    tonyinabox, Apr 20, 2006 IP
  4. simonf_71

    simonf_71 Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    How to park and use permanent redirect at the same time?

    The forum database I have in the old domain is quite large. It would be a little difficult to move it. I am not sure the hosting company will do it for me. They are advicing me to change account and park which I think is easier since no transfer of files is require. Is it a wise advice in term of seo? :confused:
     
    simonf_71, Apr 20, 2006 IP
  5. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #5
    As long as the old urls 301 redirect to the new urls then you will be fine in the search engines.
     
    mad4, Apr 20, 2006 IP
  6. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #6
    when you park, that mean everything on the same server and can access through both domain name. Usually it does like that easy with Cpanel

    
    <?php
    if ($_HTTP_HOST=="www.abc.com" || $_HTTP_HOST=="abc.com"){
            header ('HTTP/1.1 301 Moved Permanently');
    	header("Location: http://www.xyz.com" . $_REQUEST_URI);
    }
    ?>
    
    PHP:
    *not guarantee above code, you need to test.


    also you can do in .htaccess file
     
    tonyinabox, Apr 20, 2006 IP
  7. simonf_71

    simonf_71 Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    So I add the php code in .htaccess on the old domain?

    Thanks for the code.
     
    simonf_71, Apr 20, 2006 IP
  8. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #8
    tonyinabox, Apr 20, 2006 IP
  9. byoung

    byoung Peon

    Messages:
    106
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    301 redirects work perfectly, i did that and managed to maintain page rank (it slipped for one month but picked up following).
     
    byoung, Apr 20, 2006 IP