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. Educational Resources
    4. Should I issue a change of address for my demo site which has been indexed?

    Should I issue a change of address for my demo site which has been indexed?

    Educational Resources
    7 3 760
    • 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.
    • iam-sold
      iam-sold last edited by

      The web design company tasked with building a company website have a demo site which reflects the live site - as the site is constantly being developed and needs to be tested by numerous uses, removing the demo site is not an option.

      The demo site is a subdomain of the live site: demo.mysite.com

      The demo site has been indexed by Google as the web design company didn't add a robots.txt file disallowing all. The demo site was indexed 3 years before I started working at the company.

      My first action was to add a robots.txt file disallowing all, I then added a noindex and nofollow meta tag into the header of all files on the demo area - this has prevented any new pages from being indexed but the original pages of the site are still in Google index.

      Do you think I should add the demo subdomain (demo.mysite.com) into Google Webmaster and issue a change of address pointing to the actual website (www.mysite.com) or is this going to cause problems?

      All thoughts, opinions and recommendations are very much appreciated.

      1 Reply Last reply Reply Quote 0
      • customerparadigm.com
        customerparadigm.com last edited by

        This happens a lot more than you might imagine.  We've even seen times where end users are placing orders on test sites because they're able to find out-of-stock items from an out-of-date demo site.

        If you need to have the demo. store up and running so people can test it, I don't think you need to tell Google about the change of address.  I think that the no-index / no-follow status of the site and the robots.txt should prevent Google from indexing it.

        That said, there are a few more ways to protect the demo site:

        1. You can password protect it, using an .htaccess file.  This might not be ideal, because testing might prevent you from being able to see the whole site properly on different devices.

        2. You could IP restrict the site to a small number if IP addresses, using your .htaccess file.  In this way, only people who are whitelisted are able to do this.  You could even get fancier, and have a form that allows testers to be able to add their IP address to the "allowed" list from a browser.  Anyone else would / could be redirected to the normal site.

        3. I'd also recommend putting a banner at the top of the demo site, letting people know that any orders placed there are just for testing and won't be fulfilled.

        I hope this helps!

        -- Jeff

        1 Reply Last reply Reply Quote 1
        • iam-sold
          iam-sold last edited by

          Hi Jeff,

          Sorry for taking so long to reply and thank you for taking the time to respond.

          1. It isn't possible to password protect the demo sites for numerous.

          2. The demo and live site are hosted using a load server which has multiple IP addresses, all of which change from week-to-week meaning that we cant restrict the IP addresses using the htaccess file.

          3. I like the idea of adding a banner to the top of the demo site letting people know that they are not on the live site, we could also include a link through to the live site - which help usability.

          Can I ask why you don't think I should issue a change of address?

          Thanks,

          Lloyd

          1 Reply Last reply Reply Quote 0
          • customerparadigm.com
            customerparadigm.com last edited by

            Llyod-

            I wouldn't recommend the change of address feature. It's meant to be used when you are migrating your main website to a new domain. Your primary (live) domain is intact; you just want to no-index / no-follow your demo site.

            The change of address will also only be effective for 180 days, too.

            Google recently changed their change of address tool, and Barry Schwartz of Search Engine Land walks through it:
            http://searchengineland.com/google-revamps-change-address-tool-within-webmaster-tools-205829

            The big takeaway:
            "Don't use this tool unless you are moving your primary website presence to a new address."

            I hope this helps!
            -- Jeff

            1 Reply Last reply Reply Quote 0
            • iam-sold
              iam-sold last edited by

              Great, thank you for your advice Jeff.

              From past experiences, how long does it usually take for Google to de-index pages that have the noindex and nofollow tag in the header?

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

                You've got a couple of issues here, Lloyd, that aren't going to be solved by your proposed solution. The biggest one is - after three years, you have a huge amount of dev site pages indexed, and it is quite likely those pages now have at least some incoming links. If you just de-index those pages, that link and indexing equity will be thrown away, and users will continue to arrive on the "wrong" pages for quite some time.

                In my experience, to do this correctly, you've got a bit more work ahead of you.

                1. Move the dev site to a new subdomain.
                2. As soon as it's moved, add a met-robots declaration to the dev site's htaccess file to automatically add no-index/no-follow to the headers of every page. If you wish, at this point, you can also add a block in robots.txt.
                3. Optionally, (and most preferably) password-protect the dev site by setting up a password in htaccess, assuming there aren't a huge number of people who need to have dev site access.
                4. 301-redirect all the existing (old) dev site's pages to the equivalent pages on the main Domain. This can be done with a single rewrite rule in htaccess.
                5. Removing the robots.txt block from the current dev subdomain would also be a good idea.
                6. Submit the main section pages of the Dev site using the Fetch as Google/Bing bot tools in the respective Webmaster Tools to try to speed up the discovery of the 301 redirects. This should help get the redirects crawled and indexed sooner, and therefore hopefully drop out of the index a bit quicker.

                The main reason for doing it this way is to preserve all the link/indexing equity that has built up over the three years. In addition, it ensures any incoming dev links or users with bookmarked links will immediately end up on the correct pages. Remember, a notice to users on the dev domain page will mean the user will have to figure out how to find the correct page on the "real" domain - not a user experience you want to inflict on your customer. By using the above solution, they can't get to the "wrong" pages in the first place.

                Does that all makes sense? More work, but for a much cleaner solution, both for the user and for the search engines.

                Oh, and if you decide to go the easy way and leave the current dev site in place as no-indexed, you're going to have to remove the robots.txt block. No-index and robots.txt block CANNOT be used together if the pages are already indexed. The robots block tells the search engines not to crawl the pages, which means they can never the discover the no-index commands and so will never drop the pages from the index. (That's why your existing pages haven't dropped out.)

                Lemme know what you think;

                Paul

                iam-sold 1 Reply Last reply Reply Quote 1
                • iam-sold
                  iam-sold @ThompsonPaul last edited by

                  Hi Paul,

                  Some great advice.

                  In the turn of the New Year when we have more resources we are going to take action following your plan - it is a lot more work but makes perfect sense.

                  Again, thank you for pointing out that I need to remove the robots.txt block so that the page commands can be discovered - I will get onto this straight away.

                  Thank you once again.

                  Lloyd

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Webinar: Get to Know the New Site Crawl Recording
                    Christy-Correll
                    Christy-Correll
                    1
                    3
                    342

                  • Backlink From Different Language Sites Will Spoil My Ranking?
                    benesmartin
                    benesmartin
                    1
                    5
                    2.7k

                  • SEO issues with CDN & Custom SSL with 2 different certificates
                    max.favilli
                    max.favilli
                    0
                    8
                    964

                  • What are you doing to change their stars?
                    fatetmpwcosl
                    fatetmpwcosl
                    3
                    14
                    202

                  • Can some expert help us on switching domain name issues?
                    LesleyPaone
                    LesleyPaone
                    0
                    3
                    204

                  • SEO Stratergy for new ecom site
                    Chris.Menke
                    Chris.Menke
                    0
                    3
                    311

                  • SEO Ads On Third Party Job Sites?
                    Nobody1560986989723
                    Nobody1560986989723
                    0
                    4
                    429

                  • Top Domain Authority Sites
                    globallike
                    globallike
                    0
                    5
                    16.0k

                  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