# SEO Migration Redirect Chain Workflow

**Use case:** 

Validate redirect chains for legacy URLs during an SEO migration and catch excess hops, wrong canonicals, or broken targets.

## Input

```json
{
  "urls": [
    "http://example.com",
    "http://example.org",
    "http://iana.org/domains/reserved"
  ],
  "maxRedirects": 10,
  "checkHttpToHttps": true,
  "checkWwwToNonWww": true
}
```

## Output

```json
{
  "url": {
    "label": "Start URL"
  },
  "finalUrl": {
    "label": "Final URL"
  },
  "redirectCount": {
    "label": "Redirects"
  },
  "finalStatusCode": {
    "label": "Final Status"
  },
  "isHttpsRedirect": {
    "label": "HTTPS Redirect"
  },
  "isWwwRedirect": {
    "label": "WWW Redirect"
  },
  "issues": {
    "label": "Issues"
  },
  "totalTimeMs": {
    "label": "Time (ms)"
  },
  "error": {
    "label": "Error"
  }
}
```

## About this Actor

This example demonstrates how to use [Redirect Chain Analyzer](https://apify.com/automation-lab/redirect-chain-analyzer) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/redirect-chain-analyzer) to learn more, explore other use cases, and run it yourself.