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. On-Page / Site Optimization
    4. Can I robots.txt an entire site to get rid of Duplicate content?

    Can I robots.txt an entire site to get rid of Duplicate content?

    On-Page / Site Optimization
    6 3 139
    • 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.
    • RoxBrock
      RoxBrock last edited by

      I am in the process of implementing Zendesk and will have two separate Zendesk sites with the same content to serve two separate user groups (for the same product-- B2B and B2C). Zendesk does not allow me the option to changed canonicals (nor meta tags). If I robots.txt one of the Zendesk sites, will that cover me for duplicate content with Google? Is that a good option? Is there a better option.

      I will also have to change some of the canonicals on my site (mysite.com) to use the zendesk canonicals (zendesk.mysite.com) to avoid duplicate content. Will I lose ranking by changing the established page canonicals on my site go to the new subdomain (only option offered through Zendesk)?

      Thank you.

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

        Hi there!

        Just for clarification, I'm really not sure what you mean by "robots.txt-ing" the site. Do you mean, should you use robots.txt to block crawlers from accessing the entire site? That would be fine, if you're not concerned about that site never ranking, ever.

        1 Reply Last reply Reply Quote 1
        • RoxBrock
          RoxBrock last edited by

          Thank you. I do mean use robots.txt to block crawlers.

          1 Reply Last reply Reply Quote 0
          • Andy.Drinkwater
            Andy.Drinkwater last edited by

            Hi,

            I do mean use robots.txt to block crawlers.

            What you need to do is first noindex the site in question and then after a period of time, you can disallow it via the robots.txt.

            The reason you do it this way is because right now you will have pages from this site indexed in Google - these need to be removed first. You can either do this with the noindex META and wait for Google to spider the site and action all of the noindex requests, or to speed things up, noindex the page and then remove it with Webmaster Tools.

            If you don't do this, you are then just blocking the site from Google ever seeing it, so you will probably find that pages remain in the index - which you don't want as this is duplicate content.

            -Andy

            RoxBrock 1 Reply Last reply Reply Quote 2
            • RoxBrock
              RoxBrock @Andy.Drinkwater last edited by

              What if the site is not live yet?

              Andy.Drinkwater 1 Reply Last reply Reply Quote 0
              • Andy.Drinkwater
                Andy.Drinkwater @RoxBrock last edited by

                Just disallow in Robots. No need to do anything else.

                -Andy

                1 Reply Last reply Reply Quote 2
                • 1 / 1
                • First post
                  Last post
                • Hi - How do you get rid of duplicate content that was accidentally created on a tag url? For example, when I published a new article, the content was duplicated on: /posts/tag/lead-generation/
                  MikeRoberts
                  MikeRoberts
                  0
                  4
                  82

                • Can Robots.txt on Root Domain override a Robots.txt on a Sub Domain?
                  RyanPurkey
                  RyanPurkey
                  0
                  3
                  522

                • Duplicate Content - What can be duplicate in two different product pages.
                  David-Kley
                  David-Kley
                  0
                  4
                  187

                • Duplicate content on events site
                  Martijn_Scheijbeler
                  Martijn_Scheijbeler
                  0
                  3
                  206

                • Solve duplicate content issues by using robots.txt
                  JohnHuynh
                  JohnHuynh
                  0
                  5
                  153

                • My site has duplicate content
                  JHSpecialty
                  JHSpecialty
                  0
                  5
                  335

                • How to get rid of those duplicate pages
                  Igal_Zeifman
                  Igal_Zeifman
                  0
                  6
                  453

                • Can duplicate content issues be solved with a noindex robot metatag?
                  bettingfans.com
                  bettingfans.com
                  0
                  5
                  699

                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