How to redirect your old site to a new domain and keep your rankings

Today I had to help someone redirect an old site to a new site with new domain name. It is possible to keep the search engine history and rankings of the old pages and transfer them to the new site.

How to redirect your old site to your new site

We’ll use as the one that needs to be closed and as the new website (or the existing one that needs to be merged with the old one).

OK, here we go:

  • Step 1:

Create a list of ALL pages on, not just the ones indexed by Google. Without any doubt there are inbound links to non-indexed pages, and we don’t want to lose their value or the visitors entering the website through such an inbound link.

  • Step 2:

Find a corresponding page on for every page in the list from step 1. The corresponding page needs to have the same principle main content or subject. If you don’t find corresponding content on the new site for an old page, you should redirect it to the homepage of

  • Step 3:

Write a 301 (permanent redirect) for all pages and activate them on the server.

e.g. Redirect to with a 301 status code.

  • Step 4:

Point the old domain name (both the www and the non-www version) to the IP address of and make sure the server with the new site accepts the old domain name (points to It takes up to 24 hours before all name servers worldwide have adjusted the IP. During those 24 hours some visitors will be sent to the new site, some to the old site, depending on the name server they connect to.

After those 24 hours you could close the old site, but we recommend keeping it in the air for at least a few days more. Normally the old site won’t get any visitors anymore, but in case something goes wrong, you can still turn back the clock. So to be sure, keep it on the old server at least for a few days until you’re absolutely sure everything went right.

  • Step 5:

The old pages (from will now point to the new server with The redirects make sure the visitor’s browser automatically redirects the visitor to the new corresponding page. So in your browser you should see the old URL being replaced with the new corresponding URL.

That’s about it. Google drops by a few times every day/week and the Googlebot will also be redirected to Because you used a permanent redirect (301), the search engines know the old site has been permanently replaced with the new one and the history and value of the old pages will be transferred to the new pages. The number of indexed old pages will gradually drop until there are no pages left of the old site in the Google index.

Because we created a list of ALL pages on the old site and redirected them to new pages, visitors who follow old links or who have bookmarked old pages will also be redirected to the new corresponding pages.

Good for the search engines, good for the visitors, everybody happy…


    8 thoughts on “How to redirect your old site to a new domain and keep your rankings”

    1. Do you put the .htaccess file containing the redirects on the new site or the old site?

    2. @Stretch: You put the .htaccess file on the new website. Then you point the old domain to the IP-address of your new website and the .htaccess file will take care of all redirects.

    3. Thanks for sharing, I never know about this before. I just wondering, I have thousands of pages, should all of these pages redirect?

      How about the link that already pointed to

    4. Hello,

      I often move domain names especially as a better .com comes available and I have used a similiar method in the past and it works a treat.

      However it took me a bit more messing around to get right.

      I have printed this page now….lol



    Leave a Reply

    Your email address will not be published. Required fields are marked *