Why Google Sent You That Message About Blocking JavaScript & CSS

Google sent mass notifications to publishers about blocked CSS and JavaScript files. Here is what you should do about it, if you got one.

Table of Contents

    Spy on Any Website

    Get traffic data and keyword intel on competitors instantly.

    seo-blocks-ss-1920

    Did you get an email from Google saying Googlebot can’t access your CSS and JS files? Well, you are not alone.

    This morning, Google began sending mass messages to verified Google Search Console webmasters notifying them if GoogleBot, their search crawler, cannot access their JavaScript and/or CSS files.

    It seems that many WordPress users, including other popular CMS solutions like Joomla and others, have received such notifications. Simply because the default for these CMS solutions is to block the include folder, which has CSS and JavaScript within in.

    Google is notifying these webmasters because almost a year ago, Google began rendering the full page as a user would see it. In October they changed their webmaster guidelines to inform webmasters to not block include files.

    The rational, if Google cannot fully see your web site, it may result in Google not fully understanding your web site, leading to “suboptimal rankings,” as Google put it.

    Here is a picture of the notification that may look familiar to you:

    googlebot-cannot-access-css-js-621x600

    If you received this notification, follow the instructions in the email to diagnosis the issue and/or use the fetch and render tool within the Search Console to see what Google sees and open up those assets to Google. That is – if you want Google to access them.


    MarTech is owned by Semrush. We remain committed to providing high-quality coverage of marketing topics. Unless otherwise noted, this page’s content was written by either an employee or a paid contractor of Semrush Inc.

    Barry Schwartz is a technologist and a Contributing Editor to Search Engine Land and a member of the programming team for SMX events. He owns RustyBrick, a NY based web consulting firm. He also runs Search Engine Roundtable, a popular search blog on very advanced SEM topics.

    In 2019, Barry was awarded the Outstanding Community Services Award from Search Engine Land, in 2018 he was awarded the US Search Awards the "US Search Personality Of The Year," you can learn more over here and in 2023 he was listed as a top 50 most influential PPCer by Marketing O'Clock.

    Barry can be followed on X here and you can learn more about Barry Schwartz over here or on her personal site.

    View Author Profile