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. Shopify robots blocking stylesheets causing inconsistent mobile-friendly test results?

    Shopify robots blocking stylesheets causing inconsistent mobile-friendly test results?

    Technical SEO Issues
    3 3 60
    • 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.
    • nhhernandez
      nhhernandez last edited by

      One of our shopify sites suffered an extreme rankings drop. Recent Google algorithm updates include mobile first so I tested the site and our team got different mobile-friendly test results. However, search console is also flagging pages as not mobile friendly. So, while us end-users see the site as OK on mobile, this may not be the case for Google?

      I researched more about inconsistent mobile test results and found answers that say it may be due to robots.txt blocking stylesheets.

      Do you recognise any directory blocked that might be affecting Google's rendering? We can't edit shopify robots.txt unfortunately. Our dev said the only thing that stands out to him is Disallow: /design_theme_id and the rest shouldn't be hindering Google bots.

      Here are some of the files blocked:

      Disallow: /admin
      Disallow: /cart
      Disallow: /orders
      Disallow: /checkout
      Disallow: /9103034/checkouts
      Disallow: /9103034/orders
      Disallow: /carts
      Disallow: /account
      Disallow: /collections/+
      Disallow: /collections/%2B
      Disallow: /collections/%2b
      Disallow: /blogs/+
      Disallow: /blogs/%2B
      Disallow: /blogs/%2b
      Disallow: /design_theme_id
      Disallow: /preview_theme_id
      Disallow: /preview_script_id
      Disallow: /discount/*
      Disallow: /gift_cards/*
      Disallow: /apple-app-site-association

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

        This post is deleted!
        1 Reply Last reply Reply Quote 1
        • zeehj
          zeehj last edited by

          Nikki–if you feel comfortable sharing one of the sites, that would be helpful for further investigation!

          It seems like there's a lot you're blocking in your robots.txt that you might need (though that's hard to suss out without knowing your site):

          • Disallow: /blogs/+, Disallow: /blogs/%2B, Disallow: /blogs/%2b

          • assuming /blogs is the primary page path for any other blog content (e.g. /blogs/blog-title-goes-here)

          • Disallow: /design_theme_id

          • assuming this is one of your stylesheets, you should probably remove this.

          • Disallow: /gift_cards/*

          • no idea what comes after /gift_cards/[here], but this may be unnecessary

          There may be other reasons Google doesn't reliably see your site as mobile friendly–if you can provide an example site, then we can dig deeper 🙂

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post
          • Making a site mobile friendly
            Andy.Drinkwater
            Andy.Drinkwater
            0
            2
            45

          • Can Mobile Results show on Desktop results?
            RyanPurkey
            RyanPurkey
            0
            3
            187

          • Block Domain in robots.txt
            donford
            donford
            0
            6
            2.2k

          • Blocked by robots
            ThompsonPaul
            ThompsonPaul
            0
            7
            211

          • Warnings for blocked by blocked by meta-robots/meta robots Nofollow...how to resolve?
            Cyrus-Shepard
            Cyrus-Shepard
            0
            3
            415

          • How to block google robots from a subdomain
            Alexey_mindvalley
            Alexey_mindvalley
            0
            5
            2.6k

          • Blocking robots.txt
            de4e
            de4e
            0
            4
            432

          • Blocking other engines in robots.txt
            RyanKent
            RyanKent
            0
            2
            581

          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