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. Two META Robots tags on a page - which will win?

    Two META Robots tags on a page - which will win?

    Technical SEO Issues
    4 4 4.8k
    • 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.
    • jmueller
      jmueller last edited by

      Hi,

      Does anybody know which meta-robots tag will "win" if there is more than one on a page?

      The situation:
      our CMS is not very flexible and so we have segments of META-Tags on the page that originate from templates.
      Now any author can add any meta-tag from within his article-editor.
      The logic delivering the pages does not care if there might be more than one meta-robots tag present (one from template, one from within the article).

      Now we could end up with something like this:

      Which one will be regarded by google & co?
      First?
      Last?
      None?

      Thanks a lot,
      Jan

      1 Reply Last reply Reply Quote 0
      • Chris.Menke
        Chris.Menke last edited by

        The two get aggregated or the most restrictive gets used so in this case, you'd get

        http://googlewebmastercentral.blogspot.com/2007/03/using-robots-meta-tag.html

        1 Reply Last reply Reply Quote 3
        • brad.s.knutson
          brad.s.knutson last edited by

          Why not try to avoid the problem altogheter?  I assume the below line is site-wide:

          If you remove the index, follow meta tag, your pages will still be indexed and followed.  Then allow your authors to decide on a post-by-post basis if they want to noindex or nofollow the page.

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

            I can confirm chris is correct, our crappy CMS does the same thing (for certain pages), and the pages are not indexed

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • I have two robots.txt pages for www and non-www version. Will that be a problem?
              jasongmcmahon
              jasongmcmahon
              0
              6
              206

            • Why do two pages compete while a canonical tag is active?
              EGOL
              EGOL
              0
              4
              46

            • Duplicate content: using the robots meta tag in conjunction with the canonical tag?
              Keszi
              Keszi
              0
              2
              321

            • Brand page meta tag
              RobCairns88
              RobCairns88
              0
              3
              723

            • Missing Meta Descriptions on Blog Tag Pages
              evolvingSEO
              evolvingSEO
              0
              5
              356

            • Why is google not deindexing pages with the meta noindex tag?
              NikolasNikolaou
              NikolasNikolaou
              0
              13
              6.5k

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

            • Robots.txt and robots meta
              TheEspresseo
              TheEspresseo
              0
              5
              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