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. Development/Test Ecommerce Website Mistakenly Indexed

    Development/Test Ecommerce Website Mistakenly Indexed

    Intermediate & Advanced SEO
    6 3 733
    • 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.
    • estampe123
      estampe123 last edited by

      My question is - relatively speaking, how damaging to SEO is it to have BOTH your development/testing site and your live version indexed/crawled by Google and appearing in the SERPs?

      We just launched about a month ago, and made a change to the robots text on the development site without noticing ... which lead to it being indexed too.So now the ecommerce website is duplicated in Google ... each under different URLs of course (and on diff servers, DNS etc)

      We'll fix it right away ... and block crawlers to the development site. But again, may general question is what is the general damage to SEO ... if any ... created by this kind of mistake. My feeling is nothing significant

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

        Hey,

        I recently faced the same issue when the staging instances got indexed accidentally and we were open for the duplicate content penalty (well, that's not cool). After a decent bit of research, I followed the following steps and got rid of this issue:

        1. I removed my staging instances i.e staging1.mysite.com, staging2.mysite.com and so on. Removing such instances helps you deindex already indexed pages faster than just blocking the whole website from robots.txt
        2. Relaunched the staging instances with a slightly different name like new-staging1.mysite.com, new-staging2.mysite.com and disallow bots on these instances from the day zero to avoid this mess again.

        This helped me fixing this issue asap. Hope this helps!

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

          It could hurt you in the long run (Google may decide the dev site is more relevant than your live site), but this is an easy fix. No-index your dev site. Just slap a site-wide noindex meta tag across all the pages, and when you're ready to move that code to the production site you remove that instance of code.

          Disallowing from the robots.txt file will help, but that's a soft request. The best way to keep the dev site from being indexed is to use the noindex tag. Since it seems like you want to QA in a live environment that would prevent search engines from indexing the site, and still allow you to test in a production-like scenario.

          1 Reply Last reply Reply Quote 2
          • _nitman
            _nitman last edited by

            Hi Eric,

            Well, that's a valid point that bots might have considered your staging instances as the main website and hence, this could end up giving you nothing but a face palm.

            The solution you suggested is similar to the one I suggested where we are not getting any benefit from the existing instance by removing it or putting noindex everywhere.

            My bad! I assumed your staging/testing instance(s) got indexed recently only and are not very powerful from domain & page authority perspective. In fact, being a developer, I should have considered the worst case only 🙂

            Thanks for pointing out the worst case Eric i.e when your staging/testing instances are decently old and you don't want to loose their SEO values while fixing this issue. And, here'e my proposed solution for it: don't removed the instance, don't even put a noindex everywhere. The better solution would be establishing a 301 redirect bridge from your staging/testing instance to your original website. In this case, ~90% of the link juice that your staging/testing instances have earned, will get passed. Make sure each and every URL of the staging/testing instance is properly 301 redirecting to the original instance.

            Hope this helps!

            Eric_Rohrback 1 Reply Last reply Reply Quote 0
            • Eric_Rohrback
              Eric_Rohrback @_nitman last edited by

              Why would you want to 301 a staging/dev environment to a production site? Unless you plan on making live changes to the production server (not safe), you'd want to keep them separate. Especially for eCommerce it would be important to have different environments to test and QA before pushing a change live. Making any change that impacts a number of pages could damage your ability to generate revenue from the site. You don't take down the development/testing site, because that's your safe environment to test changes before pushing updates to production.

              I'm not sure I follow your recommendation. Am I missing a critical point?

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

                No my friend, no! I'm saying we'll point the existing staging/testing environment to the production version and will stop using it as staging instead of closing it completely like I mentioned earlier. And, we'll launch a fresh instance for staging/testing use case.

                This will help us transferring majority if the link juice of already indexed staging/testing instance.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
                  Taiger
                  Taiger
                  0
                  3
                  446

                • Our website is not being indexed
                  Lumina
                  Lumina
                  0
                  4
                  151

                • How to remove "/magento/" and "/index.php/" showing in internal links and dup pages in GWT
                  GarGar
                  GarGar
                  0
                  6
                  6.4k

                • Thousands of /img/img/img urls generated by website - where are they coming from?
                  McTaggart
                  McTaggart
                  0
                  5
                  129

                • Website.com/blog/post vs website.com/post
                  PortlandGuy
                  PortlandGuy
                  0
                  12
                  220

                • Duplicate Content http://www.website.com and http://website.com
                  KeriMorgret
                  KeriMorgret
                  0
                  6
                  683

                • My website keywords have been almost completely taken out of indexing in Google since 04/26/11 and I cannot determine why, anyone know?
                  crazymikesapps
                  crazymikesapps
                  1
                  5
                  722

                • Is there a development solution for AJAX-based sites and indexing in Bing/Yahoo?
                  john4math
                  john4math
                  0
                  4
                  2.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