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. Google indexing staging / development site that is redirected...

    Google indexing staging / development site that is redirected...

    Technical SEO Issues
    2 2 636
    • 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.
    • mozroadjan
      mozroadjan last edited by

      Hi Moz Fans! - Please help.

      We had a acme.stagingdomain.com while a site was in development, when it went live it redirected (302) to acmeprofessionalservices.com (real names redacted!!)

      no known external links to staging site

      although staging site url has been emailed from Google Apps(!!!)

      now found that staging site is in the index even though it redirects to the proper public site.

      and some (but not all) of the pages are in the index too. They all redirect to the proper public site when visited.

      It is convenient to have a redirect from the staging site to the new one for the team, Chrome etc. remember frequently visited sites. Be a shame to lose that.

      Yes, these pages can be removed using webmaster tools.
      But how did they get in the index to start with?

      And if we're building a new site, and a customer has an existing site is there a danger of duplicate content etc. penalties caused by the staging site?

      We had a similar incident recently when a PDF that was not linked anywhere on the site appeared in the index. The link had been emailed through Google Apps, and visited in Chrome, but that was it.

      So 3 questions.

      Why is the staging site still in the index despite the redirects?

      How did they get in the index in the first place?

      Will the new staging site affect the rank of the existing site, eg. duplicate content penalties?

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

        Hi There

        1. It could still be in the index because they are 302 redirect and not 301. 302 is temporary, and therefore Google may not de-index those URLs. It also takes time. I've seen Google take months to noindex redirecting URLs. Also, make sure you are not blocking crawling of the dev site, or Google will not see the redirects.

        2. I am not sure how they got there to begin with. I pretty much always can find some sort of error - maybe someone tweeted a staging URL, maybe crawling wasn't blocked, maybe there was one link to staging from the live site etc etc. Regardless - somehow Google crawled it 🙂 To prevent this in the future always block crawling of staging servers well before you ever put anything on them.

        3. Usually Google tries to sort this out. They won't give you a penalty for "technical" duplicate content (penalties are more for "malicious" duplicate content ie: stealing people's content). So you won't get penalized, but the more you can help Google out by sorting it out, the more time Google can spend crawling the correct site etc.

        What I would do now is, if you do want the staging URLs to redirect (which might not be the best solution if you want to ever go back and work on the staging server again) - but if you do, use 301 redirects and make sure you are allowing crawling of the staging site. Keep it registered in webmaster tools and this way you can monitor the indexation levels.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Removing a site from Google index with no index met tags
          effectdigital
          effectdigital
          1
          5
          58

        • Redirect /label/ to /tags/
          Taiger
          Taiger
          0
          3
          143

        • Google not indexing /showing my site in search results...
          David-Kley
          David-Kley
          0
          7
          342

        • If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
          Booj
          Booj
          0
          4
          113

        • Staging site and "live" site have both been indexed by Google
          jesse-landry
          jesse-landry
          0
          6
          1.3k

        • Staging & Development areas should be not indexable (i.e. no followed/no index in meta robots etc)
          CleverPhD
          CleverPhD
          0
          14
          3.9k

        • How does Google find /feed/ at the end of all pages on my site?
          evolvingSEO
          evolvingSEO
          0
          10
          430

        • Will Google index a 301 redirect for a new site?
          StephanM
          StephanM
          0
          2
          666

        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