Back in May, Google announced that they had upgraded their system to render web pages with CSS and JavaScript turned on. They recently updated their technical webmaster guidelines to reflect this change.
Interestingly, they also noted:
For optimal rendering and indexing, our new guideline specifies that you should allow Googlebot access to the JavaScript, CSS, and image files that your pages use. This provides you optimal rendering and indexing for your site. Disallowing crawling of Javascript or CSS files in your site’s robots.txt directly harms how well our algorithms render and index your content and can result in suboptimal rankings.
Whoa.
This is one of those rare instances where Google shares a direct negative ranking factor.
My guess is that many of you haven't taken any intentional action to block Javascript or CSS files in your robots.txt. But I would also guess that many of you who use WordPress are blocking the /wp-includes/ and /wp-content/ sub-directories in your robots.txt file. It will look something like this:
(editor's note: wp-includes and wp-content should be highlighted, not wp-admin)
This has been a very common and regularly recommended practice for preventing sensitive directories from being easily discovered by hackers.
Unfortunately, in light of Google's recent update, it seems that this might now be problematic. You see, Javascript and CSS files typically reside in these sub-directories. So, blocking them from being crawled may result in suboptimal rankings in Google.
You'll have to decide for yourself how to resolve this issue. You may choose simply to allow Google to crawl these sub-directories. Alternatively, you could just allow crawling of the sub-directories that contain your Javascript and CSS files. Or, you could move these file to a less sensitive area. However, if you do choose to move these files, you might cause so big broken link headaches.
To see if you might have this problem, navigate to:
https://yourdomain.com/robots.txt
If you see:
Disallow: /wp-includes
Disallow: /wp-content/
You're probably blocking Google from crawling your Javascript and CSS files.
Once you've resolved the blocking problem, head over to Google Webmaster Tools and navigate to:
Crawl >> Fetch as Google
If you see Googlebot couldn't get all resources for this page. Here's a list:
And that list contains Javascript and CSS files, the issue remains.
Work through your fix until your Javascript and CSS files don't appear as Blocked.
I'm skeptical that this will give you a huge rankings / traffic boost (but if it does, please let us know in the comments). However, in a competitive landscape, every little bit can help.
It's a good practice to regularly fetch and render your site(s) in Google Webmaster Tools. Be sure to review the code that's generated under the "Fetching" tab. This is how Google sees your pages. Make sure that the information that you are sending to Google is what you want Google to see.
Don't forget to use Fetch and Render for both Desktop and Mobile. As the web increasingly goes mobile, search engines will continue to evolve to understand whether your pages are optimized for mobile, which can also impact rankings.
Site updates and inadvertent configuration mistakes can have a serious impact on your sites' ability to appear in search results. The good news is that with regular maintenance, most of these issues are fairly easily to remedy.
Over the years, law firm prospects have sent us reports from just about all of our competitors. Unfortunately, even today, some law firm marketing agencies still mislead their clients via "reporting." One particularly egregious example comes in the form of ranking reports. Which prompted this LinkedIn post. To my surprise, I received a lot of […]
John Wanamaker supposedly said "Half the money I spend on advertising is wasted; the trouble is I don't know which half." In an an effort to figure out "what half is working," attribution was born. Coupled with a transition from traditional, offline ads to digital media, attribution became the holy grail for analyzing advertising spends. But […]
I recently asked ChatGPT, "What are some of the top personal injury law firms in Chicago?? Actually, first I ask "who are some of the top personal injury lawyers in Chicago?" ChatGPT couldn't handle that one, so I modified the prompt. ChatGPT listed five very well-known firms downtown. Can you guess the other four? That's […]
If you're like me, you have some degree of AI, ChatGBT, Bard, exhaustion. Now don't get me wrong, this is stuff is remarkable and is changing, well, a lot. But before you hook up the ChatGPT API to your WordPress API and crank out 10,000 pages, here are a few things to think about. Let's […]
If you know me, you know my opinions about links and SEO advice from Google. If you don't, here's the TL;DR: Meh, links! Meaning, all things being equal, links still remain a competitive difference maker for ranking. Take Google's SEO advice with several grains of salt. Google has no economic incentive to help your site […]
The best marketing advice I can give you is to be authentic. Of course, you don't find that very helpful in terms of meeting your growth goals. So, you might decide to game the system. As I'm writing this, one of the more popular ways to gain the system is to pay for engagement. This […]
The following post was written by ChatGPT. ChatGPT, developed by OpenAI, is a state-of-the-art language model that can generate human-like text based on a given prompt or context. This technology has the potential to revolutionize the way that businesses, including law firms, market themselves to potential clients. One way that a law firm could use […]
How long does SEO take? When can I expect to see results? What results should I expect to see? These are all reasonable questions that we field from lawyers every day. And, like many legal answers, the answer is: It depends. Yes, I know that's not the answer you wanted. But it's the most honest […]
And how much time should they spend doing it? I recently had the privilege of chatting with Tyson, Jim, and Conrad for an upcoming episode of The Maximum Lawyer Podcast. If you're not familiar with The Maximum Lawyer community, you should definitely check it out. Jim asked a really great question about who should do […]