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. Robots.txt Question for E-Commerce Sites

    Robots.txt Question for E-Commerce Sites

    On-Page / Site Optimization
    2 2 450
    • 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.
    • IcanAgency
      IcanAgency last edited by

      Hi All,

      I have a couple of e-commerce clients and have a question about URLs.

      When you perform a search on website all URLs contain a question mark, for example: /filter.aspx?search=blackout

      I'm not sure that I want these indexed.

      Could I be causing any harm/danger if I add this to the robots.txt file?  /*?

      Any suggestions welcome!

      Gavin

      1 Reply Last reply Reply Quote 0
      • Joe.Robison
        Joe.Robison last edited by

        You're right on target, it's not a good idea to index search results. Google doesn't want to crawl or index other search results in its own search results. There are some exceptions for gigantico sites like Yelp or TripAdvisor when showing their search results pages are actually the best option, but if you're not at that level and especially if you're an ecommerce site, it's not recommended.

        You wouldn't be harming anything by excluding search from your robots.txt file. In fact, many top sites exclude search results to preserve crawl capacity and for indexation reasons.

        You'll also want to look at parameter handling in Search Console, this article from Google will get you started.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Robot.txt file issue on wordpress site.
          AlanMosley
          AlanMosley
          0
          8
          229

        • Question about robots.txt
          spencerhjustice
          spencerhjustice
          0
          3
          125

        • What are the Best On-Site SEO Practices before an E-commerce Site Goes Live?
          Everett
          Everett
          0
          4
          496

        • Define H2,H3 and H4 for e-commerce sites
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          6
          2.7k

        • Site Maps / Robots.txt etc
          LockCity
          LockCity
          0
          3
          120

        • E-Commerce Site - Duplicate Content
          eugeneku
          eugeneku
          0
          5
          384

        • Should I link my 3 E-Commerce sites?
          Marcus_Miller
          Marcus_Miller
          0
          2
          237

        • Blocking Pages E-Commerce Site
          BlueprintMarketing
          BlueprintMarketing
          0
          6
          397

        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