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. How to disallow google and roger?

    How to disallow google and roger?

    Technical SEO Issues
    2 2 729
    • 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.
    • iFix
      iFix last edited by

      Hey Guys and girls,

      i have a question, i want to disallow all robots from accessing a certain root link:

      Get rid of bots

      User-agent: *

      Disallow: /index.php?_a=login&redir=/index.php?_a=tellafriend%26productId=*

      Will this make the bots not to access any web link that has the prefix you see before the asterisk? And at least google and roger will get away by reading "user-agent: *"? I know this isn't the standard proceedure but if it works for google and seomoz bot we are good.

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

        In short, yes that will work.

        To be clear, you can have multiple links which all lead to the same target page. The target of that link could still be indexed if there are other unblocked links which point to it.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Google + and Google Knoladge Graph
          MiriamEllis
          MiriamEllis
          0
          14
          188

        • Disallow statement - is this tiny anomaly enough to render Disallow invalid?
          lzhao
          lzhao
          0
          3
          118

        • Local Google vs. default Google search
          MiriamEllis
          MiriamEllis
          0
          7
          230

        • Google Sitemap - How Long Does it Take Google To Index?
          Chris.Menke
          Chris.Menke
          0
          3
          2.4k

        • Google Published Date - Does Google Lie?
          AndreVanKets
          AndreVanKets
          0
          5
          371

        • Google Places, Google Plus, Oh my!
          TammyWood
          TammyWood
          0
          4
          311

        • Google Places rank vs Google Web rank
          MiriamEllis
          MiriamEllis
          0
          6
          335

        • Disallow: /search/ in robots but soft 404s are still showing in GWT and Google search?
          timhatton
          timhatton
          0
          7
          374

        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

        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