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.
Conrad and I recently joined Zack at Lawyerist to record a conversation about AI and marketing. You might think that we spend the whole time on how lawyers can use AI to publish content. You'd be wrong. While AI can certainly support publishing, there are many more interesting ways to use it in legal marketing. […]
As more legal services consumers turn to ChatGPT for local law firm recommendations, a fascinating intersection between AI, search, and maps unfolds. While Google remains the undisputed leader in local business data, ChatGPT is increasingly becoming an entry point for searchers seeking legal representation. But here’s the kicker: instead of keeping users within its ecosystem, […]
When law firms contact us, they usually want to talk: • PPC Ads • SEO Rankings • Lead Generation Very few want to talk: • Brand • Trust & Recognition • Emotional Connection Admittedly, much of this concerns that AttorneySync is known for lead generation across those common digital channels. But even when we start […]
According to an October 2024 study by SE Ranking: "The legal niche triggers the highest percentage of AIOs (77.67%). The average number of links matched between the AI Overview resources and the top 20 search results was 6.49 for legal topics. AI Overviews for legal topics most frequently link to NYCourts.gov (114 links), YouTube.com (48 […]
I'm grateful for my friend, Charley Mann of Law firm Alchemy. If you're a lawyer, subscribe to his Free Email List. In a recent email, Charley calls out bad guru advice on hiring: "Trying to execute a major SEO improvement? You need to find people who will help you, instead of trying to DIY it […]
If you’ve spent any time on LinkedIn, you’ve likely seen posts from law firm SEO experts showing off charts with an “up and to the right” trajectory. These screenshots, often pulled from tools like Semrush or Ahrefs, are meant to signal SEO success. And it’s not just the agencies celebrating—𝗹𝗮𝘄 𝗳𝗶𝗿𝗺𝘀 𝘁𝗵𝗮𝘁 𝗵𝗮𝘃𝗲 𝗵𝗶𝗿𝗲𝗱 𝘁𝗵𝗲𝗺 […]
Meh, links! All things being equal, links still tend to move the dial more than any other factor in legal SERPs. Maybe links are having a diminishing impact internet-wide. But in my experience, quality links, especially relevant links (both topically and geographically), tend to improve law firm visibility in search more than most everything else. […]
When you think of "marketing," what's the first thing that comes to mind? Ads? SEO? Social Media? What about: Helping others?Taking the lead? Rallying around your community? Need an example? Learn from Bart Siniard at Siniard Law Injury Attorneys efforts to help rebuild Mary's Pit BBQ. These efforts aren't about marketing. They're about supporting a […]
The Beauty of Small Law Firms: Why "Small Is Beautiful" in Legal Practice As you may (or may not) have seen on LinkedIn, 𝗜'𝗺 𝘀𝘁𝗶𝗹𝗹 𝗹𝗼𝗻𝗴 𝗼𝗻 𝗯𝗼𝘂𝘁𝗶𝗾𝘂𝗲 𝗳𝗶𝗿𝗺𝘀. 𝗠𝗮𝗻𝘆 𝗹𝗲𝘀𝘀, 𝗯𝘂𝘁 𝘁𝗵𝗲 𝗴𝗼𝗼𝗱 𝗼𝗻𝗲𝘀 𝘄𝗶𝗹𝗹 𝗮𝗹𝘄𝗮𝘆𝘀 𝗯𝗲 𝗮𝗿𝗼𝘂𝗻𝗱. I recently received an email from a real practicing lawyer requesting the following: "Somebody on Linkedin […]