All Collections
Issue Overview
Blocked CSS Files in Robots.txt
Blocked CSS Files in Robots.txt

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

Florian avatar
Written by Florian
Updated over a week ago

What is the issue?

If you’ve blocked search engines from accessing your CSS 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 CSS files may result in suboptimal rankings.

How to fix

Remove the disallow rule from your robots.txt file or add "Allow: .css".

Did this answer your question?