First response only
curl -sS -I --max-redirs 0 \
http://www.example.com/Shows the initial status and Location.
Methodology: This check follows wSEO methodology 1.1. How the assessment works
An internal or external destination does not change the count: two redirects remain a double redirect. Also confirm that the route has not reached another domain or the wrong page.

info.curl -sS -I --max-redirs 0 \
http://www.example.com/Shows the initial status and Location.
curl -sS -I -L --max-redirs 10 \
-o /dev/null \
-w 'redirects=%{num_redirects}\nfinal=%{url_effective}\nstatus=%{http_code}\n' \
http://www.example.com/| URL | Redirects | Result |
|---|---|---|
| Preferred | 0 | Expected |
| Alternative | 1 | Expected |
| Any | 2 | Double |
| Any | 3+ | Chain |
Save the source URL, complete sequence, final address and highest num_redirects as evidence. If an optional WWW variant does not exist, that is not a double redirect; availability is evaluated separately.