Skip to content

A script, stylesheet or font the page loads is missing

resources-brokenmoderate
On this page

Why it matters

  • A missing stylesheet leaves a page without its layout; a missing script leaves a button, a menu or a cart that does nothing; a missing font falls back to another.
  • A 404 or 410 says the file is not there (RFC 9110 §15.5.5 and §15.5.11); a 5xx says the server failed to give it (§15.6).
  • Such errors are often left behind by an update: a theme's file renamed, a plugin removed, a version of a library taken off a CDN.

How to fix

Point the page at a file that exists, or remove the tag that loads it:

html
<script src="/js/cart.js"></script>
  • After changing a theme or a plugin, look for its old files in the page's <head> and before </body>.
  • For a library from a CDN, use an address with a version that still exists.

How we detect

  1. We render the page and record the status of every script, stylesheet and font the page's own frame loads, from any host, in each engine.
  2. We report those that answered 4xx or 5xx, except 401, 403, 407, 429 and 503, by which a site refuses a visitor it takes for a bot or cannot serve just now: those say nothing of the file, as for link-broken.
  3. Images are not judged here (a broken one is often a tracking pixel nobody sees): image-broken judges the pictures the page's HTML shows. Requests that Arablyzer's own limits stopped are not judged either.