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. Need Help With Robots.txt on Magento eCommerce Site

    Need Help With Robots.txt on Magento eCommerce Site

    Technical SEO Issues
    4 3 5.3k
    • 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.
    • JerDoggMckoy
      JerDoggMckoy last edited by

      Hello, I am having difficulty getting my robots.txt file to be configured properly. I am getting error emails from Google products stating they can't view our products because they are being blocked, and this past week, in my SEO dashboard, the URL's receiving search traffic dropped by almost 40%.

      Is there anyone that can offer assistance on a good template robots.txt file I can use for a Magento eCommerce website?

      The one I am currently using was found at this site here: e-commercewebdesign.co.uk/blog/magento-seo/magento-robots-txt-seo.php - However, I am getting problems from Google now because of it.

      I searched and found this thread here: http://www.magentocommerce.com/wiki/multi-store_set_up/multiple_website_setup_with_different_document_roots#the_root_folder_robots.txt_file - But I felt like maybe I should get some additional help on properly configuring a robots for a Magento site.

      Thanks in advance for any help. Please, let me know if you need more info to provide assistance.

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

        Hello,

        Below is what I use. You need to have the modrewrite enabled if you are going to disallow index.php and even then it's still very risky. This may be part of the issue. Robots.txt is so important, but you need to know what you are doing. Especially when disallowing as much as that UK site is.

        Tyler

        User-agent: *

        Disallow: /*?

        Disallow: /*.js$

        Disallow: /*.css$

        Disallow: /checkout/

        Disallow: /catalogsearch/

        Disallow: /review/

        Disallow: /app/

        Disallow: /downloader/

        Disallow: /images/

        Disallow: /js/

        Disallow: /lib/

        Disallow: /media/

        Disallow: /*.php$

        Disallow: /pkginfo/

        Disallow: /report/

        Disallow: /skin/

        Disallow: /var/

        Disallow: /customer/

        Disallow: /enable-cookies/

        Sitemap: http://domain.com/sitemap.xml

        JerDoggMckoy 1 Reply Last reply Reply Quote 1
        • JerDoggMckoy
          JerDoggMckoy @tylerfraser last edited by

          Thank you very much. We'll give that a shot and see how it goes. What started us tinkering with the robots file in the first place is that Bing Shopping told us it couldn't crawl our product images. Plus, our pdf files for product specs and manuals are all listed within the media folder. Do you have a suggestion for this? I would think we would get rid of "Disallow: /media/" and replace it with the following (what do you think?):

          Disallow: /media/aitmanufacturers/
          Disallow: /media/bigtom_media/
          Disallow: /media/css/
          Disallow: /media/downloadable/
          Disallow: /media/easybanner/
          Disallow: /media/geoip/
          Disallow: /media/icons/
          Disallow: /media/import/
          Disallow: /media/js/
          Disallow: /media/productsfeed/
          Disallow: /media/sales/
          Disallow: /media/tmp/
          Disallow: /media/UPS/

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

            You better back up your DB before doing that. Anyway, take a look at this MagentoConnect extension http://www.magentocommerce.com/magento-connect/MageWorx.com/extension/2852/seo-suite-enterprise#overview

            or this one (it's by the same company

            http://www.mageworx.com/seo-suite-pro-magento-extension.html

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • New SEO manager needs help! Currently only about 15% of our live sitemap (~4 million url e-commerce site) is actually indexed in Google. What are best practices sitemaps for big sites with a lot of changing content?
              Nigel_Carr
              Nigel_Carr
              1
              4
              106

            • Should you use robots.txt for pages within your site which do not have high quality content or are not contributing a great deal so when Google crawls your site the best performing content has a higher chance of being indexed?
              Jacksons_Fencing
              Jacksons_Fencing
              0
              5
              44

            • Good robots txt for magento
              RuthBurrReedy
              RuthBurrReedy
              0
              8
              5.6k

            • Robots.txt and Magento
              Felip3
              Felip3
              0
              6
              746

            • Robots.txt & Mobile Site
              LynnPatchett
              LynnPatchett
              0
              3
              4.1k

            • Need help with home page on site
              RyanKent
              RyanKent
              0
              3
              366

            • Robots.txt issue - site resubmission needed?
              GBC
              GBC
              0
              4
              227

            • Help needed with robots.txt regarding wordpress!
              surfgimp
              surfgimp
              0
              6
              459

            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