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. Online Marketing Tools
    4. Googlebot cannot access CSS and JS files. Does this matter?

    Googlebot cannot access CSS and JS files. Does this matter?

    Online Marketing Tools
    4 3 351
    • 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.
    • David-Kley
      David-Kley last edited by

      We use a few compression tools to help speed up slow underperforming sites. I have seen a few messages in Webmaster tools stating that "Googlebot cannot access CSS and JS files". Question is: Does this matter? Can this hurt the ranking potential, or is this a warning for best practices that is open to speculation?

      Googlebot cannot access CSS and JS files

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

        Yes, this is actually one of those things that is important. If you're blocking .CSS and .JS files, then your rankings may suffer. There are things you can do in .CSS and JavaScript to present the site to users differently than what you show the bots.

        You need to unblock these files and allow the search engines to crawl them.

        David-Kley 1 Reply Last reply Reply Quote 1
        • LoganRay
          LoganRay last edited by

          Hi,

          This is part of Google's webmaster guidelines as of 2014. Allowing Googlebot to access your CSS and JS files helps them understand how your site works and verify that it works properly. It's part of their effort to provide better results, not only in content, but in usability as well.

          1 Reply Last reply Reply Quote 1
          • David-Kley
            David-Kley @GlobeRunner last edited by

            Thanks for the reply.

            The files are not blocked, just highly compressed (and some are set to cache). I wonder if they are getting confused when trying to read the files...

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • When loading Optimize through GTM w/ GA trigger, 2 instances of analytics.js are loaded into DOM - is that right?
              0
              1
              59

            • Which is the best tool to analyze server log file?
              JordanLowry
              JordanLowry
              0
              4
              83

            • Has anyone experienced keyword planner picking up css off the page?
              0
              1
              31

            • I am in the process of setting up a Disavow file for
              Palmbourne
              Palmbourne
              0
              6
              139

            • Any tips for getting access to the Adwords API?
              AgentsofValue
              AgentsofValue
              0
              2
              442

            • Creating A Sitemap.xml file for an https site query.
              RoxBrock
              RoxBrock
              0
              6
              7.3k

            • Access custom segments via the Google Analytics API?
              mikecp
              mikecp
              0
              2
              2.3k

            • Is there a tool out there that allows me to access top search terms for my site?
              NorbertTroche
              NorbertTroche
              0
              4
              641

            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