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. Using meta tags to block access to your site

    Using meta tags to block access to your site

    Intermediate & Advanced SEO
    10 4 1.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.
    • webpromoters
      webpromoters last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • RyanKent
        RyanKent last edited by

        In general, you want to use meta tags, not your robots.txt files to control which pages of your sites are indexed. Meta tags are a superior option for many reasons, a few of which are:

        • a page blocked in robots.txt wont be seen at all when a crawler visits your site directly; but, often a crawler may follow a link from another site and then see the page without viewing the robots.txt file and the page can still be indexed.

        • at times a robots.txt file is mistakenly deleted or moved. This often happens during software updates. If your site is crawled without your robots.txt file in place, all of the pages can be indexed. This problem causes quite a headache. If you replace the robots.txt file then the crawlers can't see the pages so even if you do add the "noindex" tag to a page, it wont be seen.

        • any PR flowing to a page blocked with robots.txt is dead. If you noindex the page, PR can still flow to other pages through the non-indexed page.

        In summary, it is always preferable to use meta tags. So when do you use robots.txt? When you have no other choice. Some CMS and shopping cart software is not designed with SEO in mind so your choice is either to pay for an expensive modification, or use robots.txt. You should contact your software developer and inquire which pages should be blocked via robots.txt. They should have a pretty good idea.

        webpromoters ReneReinholdt 2 Replies Last reply Reply Quote 0
        • JamesNorquay
          JamesNorquay last edited by

          I would advise on blocking these pages/sub folders via Robots.txt file which sites on your server.

          Using meta tags to blog these pages will not be as strong.

          Kind Regards,

          James.

          webpromoters 1 Reply Last reply Reply Quote 0
          • webpromoters
            webpromoters @JamesNorquay last edited by

            This post is deleted!
            RyanKent webpromoters 3 Replies Last reply Reply Quote 0
            • webpromoters
              webpromoters @RyanKent last edited by

              This post is deleted!
              RyanKent 1 Reply Last reply Reply Quote 0
              • RyanKent
                RyanKent @webpromoters last edited by

                You can designate in  Webmaster Tools how to handle parameters URLs. So if you have a URL ?product=id12345 you can ask Google and Bing to not index those URLs. It would be best to take care of the problem at the source.

                I know you are saying those URLs don't exist on your site. I have experienced those issues in the past. If Google is adding those pages they are finding those links somewhere in the code on your site. Again, I would recommend contacting the software vendor. I noticed you use Magento and there are a couple SEOs who post on SEOmoz which use Magento software. Perhaps one of them can answer your question as it pertains specifically to that software.

                1 Reply Last reply Reply Quote 1
                • RyanKent
                  RyanKent @webpromoters last edited by

                  Only someone who is very familiar with Magento can answer that question.

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

                    a page blocked in robots.txt wont be seen at all when a crawler visits your site directly

                    • Partly true not all robots respect the robots.txt file but Google and Bing do, even if they follow a link from elsewhere.

                    at times a robots.txt file is mistakenly deleted or moved

                    • the same can be said about meta data.

                    That being said the part about "link juice" is a very good and valid argument and reason enough to not block using robots.txt unless you wan't to block an intire directory of images, like the images you use in the design.

                    In short robots.txt is best used to block non HTML elements like flash, image files, PDF files ex. Where meta blogs are best used to block HTML elements

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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • RyanKent
                        RyanKent @webpromoters last edited by

                        Log into Google WMT > Site configuration > URL parameters

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post
                        • Site moved. Unable to index page : Noindex detected in robots meta tag?!
                          effectdigital
                          effectdigital
                          0
                          4
                          1.7k

                        • Translating meta tags using WPML and AIO SEO
                          jonmc
                          jonmc
                          0
                          12
                          96

                        • Are rel=author and rel=publisher meta tags currently in use?
                          DickensLawGroup
                          DickensLawGroup
                          0
                          3
                          10.1k

                        • Robots.txt - Do I block Bots from crawling the non-www version if I use www.site.com ?
                          PatrickDelehanty
                          PatrickDelehanty
                          0
                          2
                          479

                        • Use Nonindex or Canonical on product tags of a e-commerce site
                          PatrickDelehanty
                          PatrickDelehanty
                          1
                          15
                          766

                        • How does the use of Dynamic meta tags effect SEO?
                          Chris.Menke
                          Chris.Menke
                          0
                          4
                          9.4k

                        • Canonical Tag Uses Source Title and Meta Data?
                          Dr-Pete
                          Dr-Pete
                          0
                          7
                          694

                        • Should I use the main keyword in the title tag for the site on all category pages?
                          ikomorin
                          ikomorin
                          0
                          6
                          990

                        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