# Redirects audit rules

> Find all 11 Sonjoo Redirects rules by ID, with the evidence and inputs each check uses.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/redirect/>

Sonjoo groups 11 checks under **Redirects** (`redirect`). Select this category with `sonjoo audit <url> --categories redirect`, or pass the category ID in an [HTTP audit request](https://sajaddehshiri.ir/sonjoo-seo-audit/api/reference/#start-request-options).

This category has weight **3** in the overall audit score when it has scored results. Sonjoo normalizes category weights over the categories with scored results.

[All audit categories](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/) · [Rule settings and interpretation](https://sajaddehshiri.ir/sonjoo-seo-audit/features/rules/#use-a-rule-id)

## redirect-meta-refresh

Detect HTML refresh navigation and distinguish immediate from delayed redirects.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Duration and declared target.

Base scoring weight **15** when measured.

## redirect-javascript

Identify likely inline JavaScript navigation while allowing simple reads of the window location.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Matched static patterns and number of inspected inline scripts.

Base scoring weight **12** when measured.

## redirect-http-refresh

Identify navigation requested through the HTTP Refresh response header.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Original Refresh value, delay and target.

Base scoring weight **10** when measured.

## redirect-loop

Identify a repeated destination in a collected page redirect trace. Emit a finding for a loop discovered during a normal crawl while preserving the transport error and incomplete page coverage.

**Inputs.** The HTTP transport has a recorded redirect trace.

**Evidence.** Trace length and the repeated destinations.

Base scoring weight **15** when measured.

## redirect-type

Distinguish temporary redirect status codes from permanent moves based on real observed hops.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Ordered statuses and permanent/temporary classification.

Base scoring weight **12** when measured.

## redirect-broken

Find redirect chains which end at an HTTP 4xx or 5xx response.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Final status code, chain length and failed destination.

Base scoring weight **15** when measured.

## redirect-resource

Flag HTTP resource references embedded in an HTTPS document.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Resource types and URLs.

Base scoring weight **10** when measured.

## redirect-case-normalization

Report a canonical differing from the current URL only in ASCII letters of the path. Ignore equivalent percent-escape spelling.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Current and declared canonical URLs.

Base scoring weight **8** when measured.

## redirect-resource-broken

A redirected browser resource fails when its final HTTP response is 4xx or 5xx.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Matching browser resource URL, type, redirect count and outcome.

Base scoring weight **12** when measured. Requires Chromium rendering.

## redirect-resource-loop

Fail when the browser resource trace revisits a prior URL.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Matching browser resource URL, type, redirect count and outcome.

Base scoring weight **12** when measured. Requires Chromium rendering.

## redirect-resource-chain

Warn when a successfully captured browser asset uses at least two redirect hops.

**Inputs.** The source response, observed redirect chain or rendered navigation evidence is available, depending on the rule.

**Evidence.** Matching browser resource URL, type, redirect count and outcome.

Base scoring weight **8** when measured. Requires Chromium rendering.
