1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change website URL

Discussion in 'White Hat SEO' started by atehleb, Apr 6, 2011.

  1. atehleb

    atehleb Newbie

    Joined:
    Feb 1, 2011
    Messages:
    29
    Likes Received:
    6
    Hey there,
    I had a website in a certain niche, but now i have created another website in the same niche.
    Do you guys think that if I do a 301 redirect from my previous website to the new one...the backlinks etc that I had created for the old one...will in essence become backlinks for the new website?
     
  2. webnise

    webnise Regular Member

    Joined:
    Dec 21, 2009
    Messages:
    296
    Likes Received:
    121
    Location:
    London
    Yes, 301 is a way to go.

    I have 301 my Pr4 site in the past and it went without any problem. However, I did see a drop in rankings for a week or so.
     
  3. slater

    slater Registered Member

    Joined:
    Apr 23, 2009
    Messages:
    59
    Likes Received:
    3
    Occupation:
    Seo analyst
    that is correct. 301 is the only way to transfer PR value to the new domain. in general it is much better to set a page to page 301 than all pages 301 to home.
     
  4. jbtalk2me

    jbtalk2me Registered Member

    Joined:
    Jan 9, 2009
    Messages:
    54
    Likes Received:
    479
    Correct. I lost my link juice once because I was lazy. .org to .com change.
     
  5. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Here's a script to 301 all of your old pages on a page by page basis to your new site so all your backlinks are credited. Fill in your domain name and insert this at the very top of each of your pages, before the opening doctype or <html> tags.

    PHP:
    <?php

    // Your new domain eg www.newdomain.com
    $new_domain 'newdomain.com';

    // Work out what new location will be
    $new_location "http://$new_domain"$_SERVER['REQUEST_URI'];

    // Do 301 redirect
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: $new_location");

    ?>
    This is an abbreviated version of the script we developed in this thread.
     
    • Thanks Thanks x 2
  6. dan777

    dan777 Junior Member

    Joined:
    Mar 3, 2011
    Messages:
    106
    Likes Received:
    15
    Location:
    Europe
     
  7. m0g0l

    m0g0l BANNED BANNED

    Joined:
    Sep 8, 2010
    Messages:
    224
    Likes Received:
    11,109
    thanks bro. i'll use this in a future.