# Audit e-commerce replatforming redirects

**Use case:** 

Audit product, collection and cart redirects after replatforming to Shopify, WooCommerce or Magento. Catch wrong targets, chains and lost canonicals.

## Input

```json
{
  "mappingText": "sourceUrl,expectedTargetUrl\nhttps://shop.example.com/product/12345,https://shop.example.com/products/blue-running-shoes\nhttps://shop.example.com/collections/sale,https://shop.example.com/c/sale\nhttps://shop.example.com/cart.php,https://shop.example.com/cart",
  "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.