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. Rel canonical and duplicate subdomains

    Rel canonical and duplicate subdomains

    Intermediate & Advanced SEO
    7 2 2.1k
    • 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.
    • 94501
      94501 last edited by

      Hi,

      I'm working with a site that has multiple sub domains of entirely duplicate content. So, the production level site that visitors see is (for made-up illustrative example):

      123abc456.edu

      Then, there are sub domains which are used by different developers to work on their own changes to the production site, before those changes are pushed to production:

      Larry.123abc456.edu

      Moe.123abc456.edu

      Curly.123abc456.edu

      Google ends up indexing these duplicate sub domains, which is of course not good.

      If we add a canonical tag to the head section of the production page (and therefor all of the duplicate sub domains) will that cause some kind of problem... having a canonical tag on a page pointing to itself? Is it okay to have a canonical tag on a page pointing to that same page?

      To complete the example...

      In this example, where our production page is 123abc456.edu, our canonical tag on all pages (this page and therefor the duplicate subdomains) would be:

      Is that going to be okay and fix this without causing some new problem of a canonical tag pointing to the page it's on?

      Thanks!

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

        Assuming that you do not need the development environments indexed in Google, why not simply block all crawlers on those subdomains?

        94501 1 Reply Last reply Reply Quote 0
        • 94501
          94501 @bobjones last edited by

          Hi Bob,

          Thanks for the suggestion/question. I'm thinking about that, but wouldn't putting some robots do not crawl text on pages already indexed be a little like closing the barn door after the horses left? Do you think it would un-index the already crawled sub-domain? Thanks!

          bobjones 94501 4 Replies Last reply Reply Quote 0
          • bobjones
            bobjones @94501 last edited by

            This should be exactly what you need: http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1663427

            1 Reply Last reply Reply Quote 0
            • 94501
              94501 @94501 last edited by

              Well, Bob, it looks like you're right! I guess it will for sure see all the pages in

              Moe.123abc456.edu

              as the ones to remove and not

              123abc456.edu

              Also, how does that robots text not get pushed to production as the developer working on that branch completes his work and pushes it to production.

              I must confess, it still feels a little like bomb disposal.

              1 Reply Last reply Reply Quote 0
              • bobjones
                bobjones @94501 last edited by

                Is the subdomain data stored on the server as directories?

                So for example, is the Moe.123abc456.edu data stored in a folder like 123abc456.edu/Moe

                If so, you can simply have one robots.txt on your root domain, blocking those directories

                Disallow: /Moe/

                1 Reply Last reply Reply Quote 0
                • 94501
                  94501 @94501 last edited by

                  Hi Bob,

                  That excellent question I'll have to look in to and confirm. More later. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Duplicate Title tags even with rel=canonical
                    GLStephenJ
                    GLStephenJ
                    0
                    8
                    3.0k

                  • Blog tags are creating excessive duplicate content...should we use rel canonicals or 301 redirects?
                    evolvingSEO
                    evolvingSEO
                    0
                    5
                    307

                  • Rel=canonical
                    arcade88
                    arcade88
                    0
                    6
                    206

                  • Reinforcing Rel Canonical? (Fixing Duplicate Content)
                    Dr-Pete
                    Dr-Pete
                    0
                    12
                    409

                  • REL canonicals not fixing duplicate issue
                    OlegKorneitchouk
                    OlegKorneitchouk
                    0
                    2
                    194

                  • Does rel=canonical fix duplicate page titles?
                    AL123al
                    AL123al
                    0
                    10
                    1.5k

                  • To "Rel canon" or not to "Rel canon" that is the question
                    Dr-Pete
                    Dr-Pete
                    0
                    10
                    728

                  • ECommerce products duplicate content issues - is rel="canonical" the answer?
                    Confetti_Wedding
                    Confetti_Wedding
                    0
                    4
                    783

                  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