# Check CMS migration redirects

**Use case:** 

Verify CMS migration redirects: old post, category and ?p= URLs must land on the right new page with a permanent 301. Export results for your dev team.

## Input

```json
{
  "mappingText": "sourceUrl,expectedTargetUrl\nhttps://example.com/2019/03/old-post-slug,https://example.com/blog/old-post-slug\nhttps://example.com/?p=123,https://example.com/blog/hello-world\nhttps://example.com/category/news/,https://example.com/blog/category/news",
  "maxMappings": 1000,
  "maxRedirects": 10,
  "timeoutSecs": 20,
  "maxConcurrency": 8,
  "ignoreTrailingSlash": true,
  "ignoreQueryString": false,
  "checkCanonical": true,
  "checkIndexability": true
}
```

## Output

```json
{
  "verdict": {
    "label": "Verdict",
    "format": "string"
  },
  "rowId": {
    "label": "Row ID",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "string"
  },
  "expectedTargetUrl": {
    "label": "Expected target",
    "format": "string"
  },
  "finalUrl": {
    "label": "Actual final URL",
    "format": "string"
  },
  "sourceStatusCode": {
    "label": "Source status",
    "format": "integer"
  },
  "finalStatusCode": {
    "label": "Final status",
    "format": "integer"
  },
  "redirectCount": {
    "label": "Redirect count",
    "format": "integer"
  },
  "isDirectPermanentRedirect": {
    "label": "Direct permanent redirect",
    "format": "boolean"
  },
  "canonicalMatchesTarget": {
    "label": "Canonical matches",
    "format": "boolean"
  },
  "isNoindex": {
    "label": "Noindex",
    "format": "boolean"
  },
  "chargeable": {
    "label": "Chargeable",
    "format": "boolean"
  },
  "confidence": {
    "label": "Confidence",
    "format": "string"
  },
  "issueCodes": {
    "label": "Issue codes",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Site Migration Redirect Map Validator & Audit](https://apify.com/burly_bat/site-migration-redirect-map-qa) with a specific input configuration. Visit the [Actor detail page](https://apify.com/burly_bat/site-migration-redirect-map-qa) to learn more, explore other use cases, and run it yourself.