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. Robots exclusion

    Robots exclusion

    Technical SEO Issues
    3 3 608
    • 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.
    • Horizon
      Horizon last edited by

      Hi All,

      I have an issue whereby print versions of my articles are being flagged up as "duplicate" content / page titles.

      In order to get around this, I feel that the easiest way is to just add them to my robots.txt document with a disallow. Here is my URL make up:

      Normal article: www.mysite.com/displayarticle=12345

      Print version of my article www.mysite.com/displayarticle=12345&printversion=yes

      I know that having dynamic parameters in my URL is not best practise to say the least, but I'm stuck with this for the time being... My question is, how do I add just the print versions of articles to my robots file without disallowing articles too? Can I just add the parameter to the document like so?

      Disallow: &printversion=yes

      I also know that I can do add a meta noindex, nofollow tag into the head of my print versions, but I feel a robots.txt disallow will be somewhat easier...

      Many thanks in advance.

      Matt

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

        I also know that I can do add a meta noindex, nofollow tag into the head of my print versions, but I feel a robots.txt disallow will be somewhat easier...

        A simple rule of SEO. Never ever ever use your robots.txt file to block a page unless there is no other reasonable means of blocking the page.

        Use the "noindex" meta tag on your print pages. Do not use the "noindex, nofollow" tag as you are then telling search engines not to trust links to your own site which is a bad move.

        1 Reply Last reply Reply Quote 3
        • ShaMenz
          ShaMenz last edited by

          Hi Matt,

          I would agree 100% with Ryan's comments on robots.txt.

          In addition to this, it is a notoriously unreliable method for blocking...if the crawler happens to come to your site via an external link to any page other than the home page it will not see robots.txt.

          Sha.

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post
          • Blocked by robots
            ThompsonPaul
            ThompsonPaul
            0
            7
            211

          • Do I need robots.txt and meta robots?
            Cyrus-Shepard
            Cyrus-Shepard
            0
            7
            1.1k

          • Blocked by meta-robots but there is no robots file
            Twinbytes
            Twinbytes
            0
            9
            700

          • Warnings for blocked by blocked by meta-robots/meta robots Nofollow...how to resolve?
            Cyrus-Shepard
            Cyrus-Shepard
            0
            3
            415

          • Robots.txt
            BailHotline
            BailHotline
            0
            5
            760

          • Robots.txt
            Entrusteddev
            Entrusteddev
            0
            3
            642

          • Robots.txt and robots meta
            TheEspresseo
            TheEspresseo
            0
            5
            1.1k

          • Robots.txt
            Tom-Anthony
            Tom-Anthony
            0
            4
            1.1k

          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