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. How do I hide comment reply's from google? Do I need to?

    How do I hide comment reply's from google? Do I need to?

    On-Page / Site Optimization
    3 2 39
    • 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.
    • paultansley
      paultansley last edited by

      Reason for asking is Moz reports them as URL too long. Should these even be indexed by google if not, how do I hide them?

      Example URL : https://www.tansleyphotography.co.uk/farnham-castle-wedding-claire-chris/?reply-to=1876

      This really doesn't need indexing, as it's just a comment on a blog post. Does it matter?

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

        Hi,

        The url with the parameter won't be indexed by Google. On that page you have (correctly) got the canonical tag set to "https://www.tansleyphotography.co.uk/farnham-castle-wedding-claire-chris/" so you're telling Google (and all the other search engines) which is the "master" page that you want indexing. Therefore, Google should be fine.

        You can tell Moz to ignore them by using robots.txt to exclude them for rogerbot:

        User-agent: rogerbot
        Disallow: /*?reply-to

        (Note, that will tell rogerbot to not crawl any URL with "?reply-to" in it, you could use "/*?" if you wanted to block all parameters, which may or may not be desirable)

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

          Perfect - thx Alex.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • My Website is Indexed But Not Showing Up in Google's Search Results
            Andy.Drinkwater
            Andy.Drinkwater
            0
            5
            4.8k

          • Short URL's vs Optimised URL's
            MozAddict
            MozAddict
            0
            3
            68

          • I want to place reviews from a review site also on my client's website, what's the right way to do that?
            JoostDerks
            JoostDerks
            0
            3
            92

          • Competitor's 'hidden' links harming my site?
            Sandy_M
            Sandy_M
            0
            5
            213

          • Google's view on geolocated results
            Andy.Drinkwater
            Andy.Drinkwater
            0
            4
            139

          • Google's Page Layout Algorythm
            KevinBudzynski
            KevinBudzynski
            1
            2
            229

          • How to properly remove pages and a category from Google's index
            VinceWicks
            VinceWicks
            0
            5
            324

          • What's the Best Way to Hide Redirects from Search Engines?
            JaredB
            JaredB
            0
            8
            867

          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