Skip to main content
All CollectionsWUX Overview
Blocked JavaScript Files in Robots.txt
Blocked JavaScript Files in Robots.txt

What are blocked JavaScript files in Robots.txt, why are they bad and how to fix them.

Florian avatar
Written by Florian
Updated over 2 years ago

What is the issue?

If you’ve blocked search engines from accessing your Javascript files, they will not be able to render your pages as intended, which can result in search engines not fully understanding your website and its properties. Google has made it clear that blocking Javascript files may result in suboptimal rankings.

How to fix

Add "Allow: .js" to your robots.txt or allow the blocked JavaScript files to be analyzed.

Did this answer your question?