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. What do you add to your robots.txt on your ecommerce sites?

    What do you add to your robots.txt on your ecommerce sites?

    Intermediate & Advanced SEO
    3 3 3.0k
    • 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.
    • ThomasHarvey
      ThomasHarvey last edited by

      We're looking at expanding our robots.txt, we currently don't have the ability to noindex/nofollow. We're thinking about adding the following:

      • Checkout
      • Basket

      Then possibly:

      • Price
      • Theme
      • Sortby
      • other misc filters.

      What do you include?

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

        Hi,

        It sounds like you're going down the right path. Disallow and section of the site that has personal information, as there's no value in having bots crawl that, keep them on important content longer! In addition to Checkout and Basket/Cart, you should also disallow the My Account area if your site has one.

        Your next grouping, I'm assuming these are the parameters by which you pages can be sorted. If so, yes, disallow all of those, they're only going to cause duplicate content flags for you in the future. I'm not sure which CMS you are using, but some eComm platforms also have 'email to a friend' URLs that are a major source for dupes and can often be identified and disallowed by another parameter.

        Hope this helps narrow it down for you!

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

          I'm on this same path since we too cannot use noindex / nofollow due to limited backend interaction with Bigcommerce.

          I like to block all cart related pages, which for ecommerce sites can be a boat load.

          • /cart.php
          • /checkout.php
          • /finishorder.php
          • /*login.php

          just to name a few, then you have the sorting and compare pages, they have to be blocked or a mess unfolds.

          • Disallow: /*sort=newest
          • Disallow: /*sort=bestselling
          • Disallow: /*?page=       ( Big duplicate page issue if you don't block this one with a wildcard, and cannot access your .htaccess file or the backend properly to noindex / nofollow )

          Just to name a few, in my case, I only want the meat of the site to be indexed and rank for. Otherwise one client's site was ranking terms that more related to web development than the niche industry they lived in. Plus with a limited index budget, why would you want google or anyone else to crawl pages on your site with no SEO value towards your niche?

          Unless you sold carts as in web developed carts for ecommerce sites you wouldn't want much of that indexed anyways, and even in that case, those pages aren't too useful for ranking. At least from what I've gathered in the niche industries.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Robots.txt Allowed
            GlobeRunner
            GlobeRunner
            0
            4
            118

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

          • 1 Ecommerce site for several product segments or 1 Ecommerce site for each product segment ?
            lcourse
            lcourse
            1
            5
            175

          • Should all pages on a site be included in either your sitemap or robots.txt?
            RossFruin
            RossFruin
            1
            8
            162

          • Robot.txt help
            evolvingSEO
            evolvingSEO
            0
            23
            203

          • Can URLs blocked with robots.txt hurt your site?
            workzentre
            workzentre
            0
            4
            302

          • What are we doing wrong with our new ecommerce site SEO vs. client's original (non-SEO'd) site?
            EGOL
            EGOL
            0
            8
            904

          • Questions about turning my wordpress site into an ecommerce site. Experience needed.
            activitysuper
            activitysuper
            0
            2
            630

          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