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. Technical SEO Issues
    4. Moving a website from one domain to another

    Moving a website from one domain to another

    Technical SEO Issues
    6 5 126
    • 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.
    • Sparkstone
      Sparkstone last edited by

      Hi Guys,

      I figured I'd investigate this fully before potentially ruining a client's traffic.

      The rundown:Two websites; one is an ecommerce store and the other is just a brochure website which has references to the ecommerce store.

      The ecommerce store is hosted on a server we control whereas the brochure one isn't, the URL for the brochure store is nice and simple which is the reason for the switch, as the ecommerce URL is very long and hard to remember.

      Now from an SEO point of view will it be a case of 301 redirecting every URL from the old domain name to the new one one or is there an easier option?

      Any tips or links to more information would be much appreciated.

      Thanks,

      Dan

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

        Basically a 301 redirect is the best option, if you are literally moving a whole domain and the urls will stay the same (save for the domain name) you can use the below

         <ifmodule mod_rewrite.c="">RewriteEngine On
          RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR]
          RewriteCond %{HTTP_HOST} ^www.olddomain.com$
          RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]</ifmodule> 
        

        Thats assuming you are running apache.

        1 Reply Last reply Reply Quote 1
        • PaddyDisplays
          PaddyDisplays last edited by

          A recent blog post that should help you

          http://moz.com/blog/save-your-website-with-redirects.

          Your situation should make the move easy enough as the urls will be the same bar the root domain. This can easily be done in htaccess, here is a guide:

          http://www.orderofbusiness.net/blog/redirect-old-domain-to-new-domain-via-htaccess/

          edit: Andy beat me to the punch 😉

          Marvo 1 Reply Last reply Reply Quote 0
          • Marvo
            Marvo @PaddyDisplays last edited by

            I have a similar issue and found this thread - if the previous url has identical content to the new url, does the redirect solve problems that might arise with duplicate content?

            PaddyDisplays 1 Reply Last reply Reply Quote 0
            • PaddyDisplays
              PaddyDisplays @Marvo last edited by

              short answer: yes 😉

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

                And don't forget to look into the Change of Address feature in Google Webmasrter Tools:

                http://support.google.com/webmasters/bin/answer.py?hl=en&answer=83106

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Using one domain for email and another domain for your website, but redirects...
                  GFD_Chris
                  GFD_Chris
                  1
                  2
                  27

                • Will doing a 301 redirect for one domain to another give the latter domain the formers links?
                  mickburkesnr
                  mickburkesnr
                  0
                  5
                  128

                • Why has google stopped showing one domain and switching to showing another that points to the same website?
                  AlanMosley
                  AlanMosley
                  0
                  4
                  146

                • Redirecting a Few URLS from One Domain to Another
                  Toddfoster
                  Toddfoster
                  0
                  6
                  136

                • Moving Content From One Site To Another
                  SamuelScott
                  SamuelScott
                  0
                  2
                  49

                • Rewrite rules from one domain to another one
                  bobrock4
                  bobrock4
                  0
                  3
                  190

                • Moving most (not all) content to another domain
                  Devanur-Rafi
                  Devanur-Rafi
                  0
                  4
                  246

                • When moving my ecommerce website from one host to another should I also 301 all my image urls?
                  onwebtoday
                  onwebtoday
                  0
                  7
                  3.8k

                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