Skip to main content

Google Webmaster Guidelines Updated To Warn About Blocking CSS & JavaScript Files

Google Webmaster Guidelines Updated To Warn About Blocking CSS & JavaScript Files
Google Webmaster Guidelines Updated To Warn About Blocking CSS & JavaScript Files

Google announced they’ve updated their webmaster guidelines to specifically note that blocking your CSS or JavaScript files may have a negative impact on your indexing and search rankings in Google.

Pierre Far, Google’s Webmaster Trends Analyst, said the “new guideline specifies that you should allow Googlebot access to the JavaScript, CSS, and image files that your pages use” all for “optimal rendering and indexing.

” If not and you block Googlebot access to these files, Pierre added it “directly harms how well our [Google] algorithms render and index your content and can result in suboptimal rankings.”

How can you be certain GoogleBot can render your web pages properly? Google created the fetch and render tool within Google Webmaster Tools four months back specifically for this reason.

 Google back then said you should make sure not to block these files because GoogleBot is trying to render your full HTML.

What changed in the guidelines exactly?

Before:

Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.

After:

To help Google fully understand your site’s contents, allow all of your site’s assets, such as CSS and JavaScript files, to be crawled.

 The Google indexing system renders webpages using the HTML of a page as well as its assets such as images, CSS, and Javascript files.

 To see the page assets that Googlebot cannot crawl and to debug directives in your robots.txt file, use the Fetch as Google and the robots.txt Tester tools in Webmaster Tools.

Popular posts from this blog

Moz: Google’s New Quick Answer Box Now Showing 98% More Often

Moz: Google’s New Quick Answer Box Now Showing 98% More Often According to a Moz tracking study the new formatted quick answers box you find in Google for queries like [what is seo] is showing up 98% more often than a week ago. Overall, general answer boxes, including stock quotes, weather forecasts, box scores and so on are showing up 44% more often. What are direct or quick answers from Google? Here is a picture of an example; but keep in mind it may or may not show images or photos within the box. However, they are different from the Knowledge Graph panel in that they are at the top of the search results. Moz: Google’s New Quick Answer Box Now Showing 98% More Often Moz said the day-over-day increase from September 25-26 in new answer boxes was +98%, almost doubling the total number in their data set. Here is the graphic: Moz: Google’s New Quick Answer Box Now Showing 98% More Often This is not to say that these answers show up for 50% of the search queries you do; they do not. But ...

21 Link Building Ideas That Have Nothing To Do With Guest Posting

21 Link Building Ideas That Have Nothing To Do With Guest Posting I think we’ve gotten better at not relying completely on guest posting as the only way to get links. I think. At least, I sure hope we have. Don’t get me wrong: Guest posting done correctly still works really well – note the emphasis on “done correctly.” I’m not recommending you remove it from your tactic list, but a little tactical diversity never hurt anyone. Note: I’m keeping these high level and vague on purpose in order to inspire as many starter ideas as possible. I find this to be ideal for brainstorming. It’ll be up to you to take the ones you like, add your own twist, and flesh it out to make it work for your company. (C’mon, I can’t do all the work for you!) PR Boilerplate. Press releases aren’t dead. Make sure you have an optimized boilerplate at the end of all of your news releases that talks about your company. It’s almost always included if/when your release gets picked up by another source. Executive Bios....

Google Launches Mobile Friendly Test Tool

Google Launches Mobile Friendly Test Tool The new tool is at google.com/webmasters/tools/mobile-friendly and it basically gives you a pass or fail grade. Either it tells you that you are mobile friendly or you are not mobile friendly. The messages I was able to generate include: Awesome! This page is mobile-friendly. Not mobile-friendly In each output, the yes, you are mobile friendly or no you are not, Google may or may not give more or less advice depending on the site. For example, for this site, we got an “Awesome! This page is mobile-friendly,” but it did add that “this page uses 9 resources which are blocked by robots.txt. The results and screenshot may be incorrect.” It then listed out those resources it had issues with, so you as the webmaster can decide if it is something that needs addressing. Here is a screen shot: Google Launches Mobile Friendly Test Tool I then tested a site that I know what not mobile-friendly and Google explained what the issues were including (a) text t...