The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Experience of moving to a new domain

    Experience of moving to a new domain

    Intermediate & Advanced SEO
    2 2 118
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Andy-Halliday
      Andy-Halliday last edited by

      Hi all

      just wondering if anyone has ever had any experience / tips / advice.

      moving from domain name a to b is well published all over the web and the practice is often discussed on here.

      but my question is has anyone ever done moving the domain from a to b and then after x time move back to domain a.

      i can't find any examples, notes anywhere on Google.

      thanks in advance

      1 Reply Last reply Reply Quote 0
      • DanielMulderNL
        DanielMulderNL last edited by

        Yes I have recently done something similar 2 times. One time for a local company which had a SEO targeting an geographically unsuitable service area for my client. It is a traffic school operating in a large city situated next to an even larger city. The SEO took a new domein xxxcity.nl and focused the keyword strategy on this as well. But how do the instructors pickup and drop off students in city A north and city B south within a hour or 90 minutes. Never going to happen 8 times a day on time. And it doesnt convert well either because people now this when the see an offer.

        But I undid the city in the url part by copying the website enterely and placed a simple php script in the WordPress index.php file in the root. This replaces the domain for all request and redirects with a 301. The destination domain is the domain the client previously used.

        // Permanent redirect of all PR from A > B

        // Get http request headers for requests on old page
          $uri = $_SERVER['REQUEST_URI'];

        // Get the path after the old domain to redirect to corresponding page on new
          $url_path = parse_url($uri, PHP_URL_PATH);

        // drop the city from the url and go to new location
          $location_new = 'http://www.xxxrijschool.nl' . $url_path;

        // send 301 and load destination url
          header("HTTP/1.1 301 Moved Permanently");
          header("Location: $location_new");

        exit();
        ?>

        The above script I place on the old domain A but only after copying the whole website to the new domain B. If it's a 1-on-1 copy then this script is places on A. Thats all. It will cost some PageRank to move 2 times for 1 page but the transfer starts in a few days and will be noticeable in 2 weeks or so. After 6-8 weeks it will mostly be moved and normalize from there on. If in between we optimize on-page and aquire good backlinks then it will turn the decline of rank and can outperform the old site in a matter of 8 weeks.

        For larger and large site it's recommended that the time to live for DNS records is set to 5 minutes at least a week in advanced, This is recommended by google somewhere in the guide for transfering domains in webmaster tools I believe.

        Hope this helps/

        Gr Daniel

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Move a blog from a domain to a new domain in the same hosting server
          CleverPhD
          CleverPhD
          0
          3
          77

        • Moving Entire Domain to New Site with New File Extensions
          MichaelC-15022
          MichaelC-15022
          0
          2
          68

        • Moving categories to new domain
          Uniline
          Uniline
          0
          3
          109

        • Should we move a strong category page, or the whole domain to new domain?
          AndieF
          AndieF
          0
          2
          110

        • Penalties forcing us to move to a new domain
          brads07
          brads07
          0
          3
          601

        • Moving a database from a sub folder to a new domain
          Horizon
          Horizon
          0
          3
          545

        • New Site: Use Aged Domain Name or Buy New Domain Name?
          NakulGoyal
          NakulGoyal
          0
          5
          875

        • Should we move to a new domain??
          SL_SEM
          SL_SEM
          0
          2
          495

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy