JavaScript redirect

LowLow priority, in Response codes

Short answer

JavaScript redirect means: the page sends visitors elsewhere only after JavaScript runs. Crawlers that don't run JavaScript stay on the old page, and Google sees it late. To fix it: use a 301 redirect on the server instead.

By the SmooxSEO team. Updated on 16 November 2026.

What it means and why it matters

The page sends visitors elsewhere only after JavaScript runs. Crawlers that don't run JavaScript stay on the old page, and Google sees it late.

How to fix it

Use a 301 redirect on the server instead.

How serious is it?

Good practice with a small effect, or something that is often intentional. Nice to have.

About response codes checks

What your server answers for each page: working pages (200), redirects (3xx), missing pages (4xx) and server errors (5xx). Search engines only show pages that answer correctly.

Find this problem on your site

SmooxSEO checks every page of your site for this problem and 311 others, lists the pages concerned, and tells you what to fix first.

Related response codes checks

All response codes checksAll 312 checks