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

An icon of an open book and a workspace setting with a close-up view of a laptop keyboard.

Content Gap Analysis

Are you struggling to think about what to write about for your content marketing efforts? It’s not an uncommon situation–particularly…

Download

Link Building Vs Managed SEO: What’s Right For Your Business?

Link Building or Managed SEO which is right for me?

Download
Beginner's Guide to Rich Snippets?

Beginner’s Guide to Rich Snippets

Find out the secret code of how to get a rich snippet in Google.

Download
View the Blog

You may also be interested in...

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…

How A Full-Funnel SEO & PR Strategy Can Drive Leads & Sales

Want to succeed with your digital marketing? Success, at least in today’s evolving landscape, requires…

A graphic that shows a phone with search icons, change icon and an AI icon.
Google Launches AI Mode In The UK: What Does It Mean For SEO?

Google’s new AI Mode is here. On July 28, 2025, the search engine giant announced…

White Label SEO: The Secret Weapon to Expand Your Services in 2025

Let’s face it, the world of digital marketing is getting crowded. Clients are expecting bigger…

In-House vs. Outsourced SEO: Which Is Right for Your Business?

SEO is what makes your business visible online. It’s an essential part of any strategy…

12 Link Building Techniques That Work in 2025

In 2025, there is one SEO method paving the way for businesses: link building. Though…

View all Guides

Online Guides

10 Best WordPress SEO Companies Powering Online Success in 2025
View guide
20 Best E commerce SEO Companies Powering Online Store Growth in 2025
View guide
11 Best Crypto SEO Companies Helping Blockchain Brands Gain Visibility
View guide
13 Top Casino SEO Companies That Help Gambling Brands Dominate Search Results and Win Big
View guide
12 Exciting iGaming SEO Companies Driving Success in Competitive Markets
View guide
7 of the Best Affordable SEO Agencies Delivering Exceptional Results
View guide
The 10 Top UK SEO Companies
View guide
The Best SEO Companies in the World
View guide
Back To Top