Stylesheets or scripts blocked by robots.txt
WarningQuick fix
These pages load CSS or JavaScript files from your site that robots.txt forbids Googlebot to fetch.
Why it matters
Google renders pages like a browser to judge layout, mobile friendliness and content that scripts add. Without these files it sees an unstyled or incomplete page and may rank it accordingly.
How to fix it
- 1
Remove the Disallow rule that covers these files, or add an Allow rule for the folders with CSS and JavaScript.
- 2
Old rules such as "Disallow: /wp-includes/" or "Disallow: /assets/" are the usual cause.
- How serious is it?
- Warning
- Issues worth fixing once the errors are handled.
- How much work is it?
- Quick fix
- Usually minutes of work.
Further reading: Google: Introduction to robots.txt
Does your site have this issue?
Check a page for free, or create an account to test your whole website.