If you’re a regular user of Google Console (formerly Google Webmaster Tools), you may have received this warning for one of your websites, as Google has just started sending these out:
This sounds pretty serious and, at first glance, may worry some website owners. If Google can’t access something and your rankings could be ‘suboptimal’, then that’s bad, right?
Well, don’t worry, there’s no need for panic. This is a very simple fix and is usually caused by a line or two in your robots.txt file. Have a look at your robots.txt file and see if it includes one of these:
For WordPress sites specifically, it might include:
If any of these lines are present, remove them. They’re basically telling Google it can’t access files with the extensions .css or .js and, for WordPress, it’s saying Google can’t look in the folder /wp-content/ or the themes and plugins folders.
You can test if your work has been successful by going to Google’s ‘Fetch as Google’ tool in Google Console, selecting your website property (if you have more than one) and clicking the ‘Fetch and Render’ button.
You can also check the results in the robots.txt Tester in Google Search Console to ensure your edits have been crawled by Google.
- Win two hospitality tickets to watch Liverpool v Toulouse at Anfield - September 25, 2023
- Wanted: Web Developer - June 13, 2022
- Facebook adds ‘automatic invitations’ to invite page followers to your group - May 17, 2021