JavaScript

Page has redirected JavaScript

Scripts block or delay interactivity. A redirected script URL adds avoidable latency to that critical path.

What it is

This check flags <script src> values that resolve through a 3xx redirect.

Why it matters for SEO

Redirected scripts slow execution and can delay Interaction to Next Paint, a Core Web Vital.

Example

/js/app.js  ->  301  /js/app.min.js

How to fix

  1. Reference the final script URL in your markup.
  2. Update build tooling that emits the old path.
  3. Keep the redirect only for legacy links.
  4. Re-crawl to confirm scripts load without redirects.

Related checks

← Knowledge base