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. Web Design
    4. Best Practice For Website Redesign & Migration

    Best Practice For Website Redesign & Migration

    Web Design
    10 3 1.9k
    • 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.
    • Mark_Ch
      Mark_Ch last edited by

      Hi,

      I'm looking to redesign my current live website to a new Wordpress site using "Studiopress Enterprise Theme".

      I'm new to Wordpress and therefore will be embarking on lots of testing & development.
      I do not want to hurt my current live website whilst testing the new Wordpress site. However, it would be nice to bring the test site into the current live environment without changing untold urls, etc.

      Question
      What is the best practice to setup this new Wordpress environment for my domain: www.sampledomain.co.uk

      How would you restrict Google, Bing, etc from indexing, etc. whilst testing in the live environment.

      What other consideration should I be aware of

      Thanks

      Mark

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

        I would recommend that you work on your new website on a staging site (that is the standard operating procedure for a website redesign) that is locked against robots.  You can either inject into the header of everyone of your pages or you can (recommended) install a plugin that will make sure that your site is not indexed until you are ready.  A word of caution though, don't forget to change the tag to after you are done.  This Q/A is filled with people wondering why Google hadn't indexed them after they failed to do so.

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

          Hi Mike,

          Thank you for the response.
          How would I go about creating a staging site?  I'm new to this...

          Mark

          Mike_Davis 1 Reply Last reply Reply Quote 0
          • Mike_Davis
            Mike_Davis @Mark_Ch last edited by

            I would install your new site on a subdomain and then push it to your live site once all of your redirects are in place. Here is a great article about moving your wordpress site from dev to staging to production.  <a>http://codex.wordpress.org/Moving_WordPress </a>

            I hope that helps!

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

              Hi Mark,

              I recommend creating a subdomain like dev.yourdomain.com or staging.yourdomain.com. Password protect the directory so no one ends up on the wrong site and there's no chance search engines will crawl it.

              Copy all your files to the subdomains folder, most hosting control panels just create a folder in your main website for subdomains so you can do this in the file manager. Otherwise, download a copy and upload it to the subdomain's folder.

              Export your database using PHPmyAdmin, create a new database and import the data into the new database. After you import the data find the wp_options table and edit homeurl and siteurl to be dev.yourdomain.com.

              Edit wp-config.php on the dev site to use the new database, user and password.

              You should be all set with your dev site at this point and you'll keep your current settings and content so you don't end up with a bunch URL changes.

              When you're ready to move the changes to your live site back everything up and do the opposite of the steps above.

              I also use the Search and Replace plugin to search the database for http://dev.yoursite.com and replace with http://www.yoursite.com after moving everything over so you don't have any links pointing back to the dev site.

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

                Thank you Mike & Zach for the feature rich solutions.

                With the above information, I will be creating a subdomain along the lines of staging.sampledomain.co.uk
                I will further password protect this subdomain using Plesk.
                I will tweak the setting of Wordpress to noindex, follow to stop search engines from trying to crawl.

                I assume Wordpress would be installed in the subdomain staging directory along with all relevant themes and plugins.

                Also, I assume for each and every instance of a new domain, a fresh install of Wordpress will be required?

                Thanks Mark

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

                  Sounds like you got it, except I would recommend copying over your current site as a starting point vs. installing a fresh copy of WordPress. That way you are starting with the same content and settings and less likely to cause problems with URLs changing. It's also a lot less work if you have a larger site. Just copy of all the files and create a new database,  import the data from your current site and make the couple edits mentioned above and you'll be all set. Good Luck!

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

                    Hi Zach,

                    Your logic of copying same content and setting would only apply if my current website where previously created in Wordpress.

                    My current website was created in Dreamweaver and tweaked by hand. It currently has not interaction with a database or Wordpress.

                    In short, I believe my needs would be to create a new instance of Wordpress.

                    Thanks Mark

                    ParagonDigital 1 Reply Last reply Reply Quote 0
                    • ParagonDigital
                      ParagonDigital @Mark_Ch last edited by

                      Ah, you are correct! Sorry I thought you were already on WordPress and just looking to change your theme.

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

                        Hi Zach,

                        Thank you for all your help today.

                        Regards Mark

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Need suggestion: What is the best internal linking structure for our website to gain in SEO & UX too?
                          Martijn_Scheijbeler
                          Martijn_Scheijbeler
                          0
                          2
                          57

                        • Any second opinions as to why our organic search website traffic hasn't recovered from website rebrand (domain change, website redesign)?
                          nick49
                          nick49
                          0
                          10
                          212

                        • Website Redesign and Migration to Squarespace killed my Ranking
                          ThompsonPaul
                          ThompsonPaul
                          1
                          12
                          1.1k

                        • Is there a best practice for how to set up an Age Restriction prompt for a website (vape equiptment)
                          GlobeRunner
                          GlobeRunner
                          0
                          4
                          249

                        • Have an eBook. What is best practice for SEO?
                          LauraFalls
                          LauraFalls
                          0
                          3
                          1.3k

                        • Mergers & Acquisitions - Website Transition Good practice
                          evolvingSEO
                          evolvingSEO
                          0
                          2
                          1.2k

                        • Website Redesign SEO Checklist
                          stradiji
                          stradiji
                          0
                          5
                          5.4k

                        • Any advice for best practice for mobile versions of websites?
                          SEM-Freak
                          SEM-Freak
                          1
                          5
                          265

                        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