Important Google Search Console Announcement: Googlebot cannot access CSS and JS files on your site

By (Guest Blogger)
There are no comments, be the first to comment

WordPress website owners and managers started receiving a notification [#WNC-658001] (see images below) from Google Webmaster Tools Search Console, both by email and in the search console message center about Googlebot being unable to access CSS and JS files on connected websites.

The message says:

Google systems have recently detected an issue with your homepage that affects how well our algorithms render and index your content. Specifically, Googlebot cannot access your JavaScript and/or CSS files because of restrictions in your robots.txt file. These files help Google understand that your website works properly so blocking access to these assets can result in suboptimal rankings.

Image of email from Googlebot regarding Blocking Javascript & CSS

Googlebot Notification: Blocking Javascript & CSS Email

Image of Google Search Console Notification for Blocking Javascript & CSS

Googlebot Notification: Blocking Javascript & CSS in Search Console

In the past, a standard Robots.txt file included the following:

Sitemap: http://mydomain.com/sitemap.xml (example URL)
# global
 User-agent: *
 Disallow: /wp-admin/
 Disallow: /wp-includes/
 Disallow: /xmlrpc.php

File Editor in All in One SEO Pack

File Editor in All in One SEO Pack

Now, a standard Robots.txt file should be updated to look like this:

Sitemap: http://mydomain.com/sitemap.xml (example URL)
# global
 User-agent: *
 Disallow: /xmlrpc.php

It seems Google now wants access to the core WordPress directories /wp-admin/ and /wp-includes/, so they should no longer be blocked using your Robots.txt file.

All in One SEO Pack users, as well as all WordPress blog/site managers, can resolve this issue by performing the following actions:

  1. Go to Feature Manager and activate the File Editor module
  2. Then, go to All in One SEO, File Editor and click the robots.txt tab
  3. Edit your file and then click the blue Update button
  4. You can then deactivate the File Editor module in Feature Manager (this ensures good security on your site)
  5. Make sure the File Editor module is deactivated, then go to Google Webmaster Tools and click the Fetch as Google button under Crawl (in the left sidebar) to make sure everything is working

If you are blocking specific directories in your /wp-content/ directory, you may still have issues. You can contact Google Webmaster Tools Forum support for this specific notification ID number: [WNC_658001]. There is already Google cannot access your CSS and JS forum thread on Google with others working to resolve their specific issues.

If you have purchased All in One SEO Pack Pro and have a current Support and Updates subscription, you can contact us via our Premium Support Forums for help.

 

 

 

About (Guest Blogger)

Tony Zeoli is Director, Digital Marketing for Semper Plugins and All In One SEO Pack. While not managing social media and email communications, Tony loves to DJ on his radio show, the Asheville House Music Society on Ashevillefm.org (103.3-LP FM) in Asheville, NC.


This post was written by a guest contributor. If you would like to guest post for Semper Plugins please reach out to us via our contact form.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

[i]
[i]
Skip to toolbar