Skip to content

How Disallowing CSS and Javascript Crawling Affects Rankings in Panda

There’s been some general confusion on whether or not disallowing crawling for css and javascriptJavascript is one of the web’s key programming languages but coding it incorrectly can cost you in technical SEO terms. In order to avoid common mistakes, and understand how Java operates, here’s a quick guide to coding Java the right way.…
Reading Time: 3 minutes
Blog Post

There’s been some general confusion on whether or not disallowing crawling for css and javascript might negatively impact rankings via the Panda algorithm. The answer from Google has been definitely not and it certainly does. The confusion has been that Google maintains there isn’t a straight forward answer to the question.

That being said, there are still reasons to consider whether or not you wish to allow or disallow crawls of your css or javascript. On the negative side, you may be pulling in a lot of content that isn’t yours. There are a host of reasons this could be a concern. Foremost, you may wish to differentiate yourself from non-local content. Automated crawling cannot reasonably pick what is local content from foreign born. So, not allowing crawling may be a way to logically divide, for a crawler’s benefit – what is local and what is not.

On a more complicated level, you may be protecting yourself from legal and illegal content usage. At the end of the day, a crawler can only discern what is integral to your content – how things appear visually on page. A crawler cannot detect foreign content that is being used, logistically, for limited purposes and that cannot be used for broader ones. This is where you may need to step in for more fine tuned, detailed culling of what can be garnered via crawling.

The response from Google regarding allowing or disallowing crawling is a bit mixed as well. They assure people that disallowing crawling over css and javascripts will not adversely affect ranking. However, they also point out that it can damage how Google interprets a site. Browser-reactive sites, that is sites which actively change layout based on the browser (formatting for smart phones, for instance), will not be interpreted visually and properly by Google if css crawling is disallowed.

Regarding Panda itself, their stance is that they try and gauge the overall quality of a page or website. That is to say, the most important aspect is the general content and quality of what is being crawled through. This includes such things as content itself as well as whether the HTML is correct and all links are properly formatted. Aesthetics governed by css and javascript are more of a technical/layout concern and Panda doesn’t much care how this is done. Thus, the Panda algorithm largely ignores these elements anyways.

It should be noted though, that Google representatives say this isn’t a “primary” factor in its quality algorithm. They do not say it has no effect at all. In fact, Google’s official documentation recommends unblocking css and javascript for a scan. Part of the issue may be with its new Fetch and Render technology.

Google hasn’t officially responded to comments regarding this, but it seems if they are using render technology to get a visual approximation of a website, it could very much look like a broken page if viewed without accompanying style sheets and javascript. Again, Google has not confirmed this to be the case but they have also not been very forthcoming and direct with how much impact disabling crawls can have on a site’s rating.

One factor to keep in mind though, is that Panda is always a work in progress. Google continually fine tunes their algorithms to make the service more accurate. What that means, from your perspective, is that while it may be alright now to disallow crawls over css and javascripts – that does not mean it will be alright in the future.

As evidence of this, many people have complained that their rankings dropped specifically with the Panda 4.0 release. Indeed, in that particular thread, the Google representative admitted that disallowing access to any URL which affects visual display significantly should be avoided. So, that’s the rather confusing, short of it – Google maintains that disallowing crawls will not significantly impact the Panda algorithm’s ranking while at the same time they say that disallowing it may make the site difficult to “read”. It could not be much less clear than that. But, Google always tends to be closed about specifics of their algorithms to help protect them from people trying work the system.

Bearing that in mind, it may be the safest of all options to just allow the crawls instead of risk the negative impact. If you find that unacceptable, a middle ground might be to allow access to the ones which are central to visual formatting, so Panda can reassemble the page properly when it retrieves it. But going with the safe as possible route, it is probably best to simply allow them if you can. And, of course, if it is a planned scan you are prepping your site for – you can always allow crawling just for the time it takes to perform the scan them turn disallow back on after it is complete.

Need support with technical SEO or a managed SEO campaign? contact us here.

James Owen, Co-Founder & Head Of Search

James has been involved in SEO and digital marketing projects since 2007. James has led many SEO projects for well-known brands in Travel, Gaming and Retail such as Jackpotjoy, Marriott, Intercontinental Hotels, Hotels.com, Expedia, Betway, Gumtree, 888, Ax Paris, Ebyuer, Ebay, Hotels combined, Smyths toys, love honey and Pearson to name a few. James has also been a speaker at SEO and digital marketing conferences and events such as Brighton SEO.

View all Downloads

Downloads

Ebook: Ultimate Guide To Enterprise SEO

Ultimate Guide To Enterprise SEO

While the fundamentals of SEO remain the same no matter the size of your business, if you are an enterprise…

Download
An e-book cover image titled 'Core Web Vitals', shows a person's hands typing on a laptop with analytics displayed.

2022 Core Web Vitals Checklist

Google's Core Web Vitals reports how a page performs, and here's our checklist to improving page experience this 2022!

Download

Private Blog Network

When building links what are PBN's and why are they dangerous!

Download
View the Blog

You may also be interested in...

New Feature Launch: Click Insights AI Overviews Gap Analysis

Google's AI Overviews are changing the game when it comes to all things search. From…

How to Increase Digital Marketing Agency Profit Margins in 5 Steps

Healthy margins. For any agency, profitability goes beyond revenue and is about achieving (and retaining)…

Generative AI SEO: Threat or Opportunity?

Generative AI is rapidly reshaping the search landscape. It has left marketers asking a specific…

No Tricks, Just Links: Why Link Building Matters for AI Search

AI-driven search is altering SEO at lightning-fast speed. Google AI Overviews, Bing Copilot, ChatGPT –…

How New Websites Are Ranking Faster in 2025

SEO in 2025 looks very different from just a couple of years ago. Google’s algorithms…

How Many Backlinks Does It Take to Rule Your Niche’s SERPs?

SEO is undergoing a dramatic evolution. Despite this, when it comes to those trusty old…

Content Writing vs Copy Writing: What’s the Difference?

Content writing vs copywriting. It's a debate that often confuses marketers. However, don't underestimate knowing…

What You Should Know Before Buying Content

Content is the fuel that drives digital visibility. It’s the vehicle behind customer engagement and…

View all Guides

Online Guides

The Best Link Building Agencies Helping Investment Banking Firms Strengthen Their Digital Reputation
View guide
The Best Link Building Companies Helping Technology Brands Strengthen Their Online Authority
View guide
Mission: Visibility — The Best Link Building Companies Lifting the Aerospace Industry to New Heights
View guide
4 Game-Changing Link Building Agencies Helping Data Centre Companies Dominate Search Rankings
View guide
Top Link Building Companies Powering Success for Web Hosting Brands
View guide
The Best Link Building Agencies for IT Support Companies
View guide
How To Become One of the Great Advisory Companies: Work with these Link Building Agencies
View guide
Work with 5 of the Best Link Building Agencies for Web Development Companies
View guide
Back To Top