# Site Migration SEO Check: 404s, Redirects, Noindex

**Use case:** 

Before and after a site migration or redesign: crawl the site, keep the result as a baseline, then crawl again and see new 404s, redirects, noindex, canonical changes, robots blocks and pages dropped from the sitemap.

## Input

```json
{
  "startUrl": "https://crawler-test.com/",
  "maxPages": 150,
  "timeoutSecs": 15,
  "maxResponseBytes": 2000000,
  "maxSitemaps": 30,
  "maxConcurrency": 5,
  "requestDelayMillis": 0,
  "maxDurationSecs": 1800,
  "respectRobots": true,
  "includeSitemaps": true,
  "checkRootRedirects": true,
  "failOn": [
    "critical",
    "high"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "Page URL",
    "format": "string"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "status": {
    "label": "HTTP status",
    "format": "integer"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "canonical": {
    "label": "Canonical URL",
    "format": "string"
  },
  "noindex": {
    "label": "Noindex",
    "format": "boolean"
  },
  "inSitemap": {
    "label": "In sitemap",
    "format": "boolean"
  },
  "internalLinksInCount": {
    "label": "Incoming links",
    "format": "integer"
  },
  "issues": {
    "label": "SEO issues",
    "format": "array"
  },
  "change": {
    "label": "Baseline changes",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEO Deploy Guard: Catch SEO Regressions After Deploys Actor is ready to run with the inputs already set for "Site Migration SEO Check: 404s, Redirects, Noindex". [Sign up or log in](https://console.apify.com/create-task-from-example/zh0ScBwIDGm53h21X) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Site Migration SEO Check: 404s, Redirects, Noindex" task

The SEO Deploy Guard: Catch SEO Regressions After Deploys Actor will start running based on the input automatically. You can also change all the input fields, like start url, maximum page attempts, and more, to match your specific use case.

### 3. Receive the "Site Migration SEO Check: 404s, Redirects, Noindex" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as page url, final url, HTTP status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Site Migration SEO Check: 404s, Redirects, Noindex" task via API](https://apify.com/smartlinks/seo-deploy-guard.md).

## FAQ

### How do I compare before and after?

Run once before the migration (baseline), then again after with the same settings. The second run lists only changes and sets the gate.

### What if the crawl is partial?

Pages not re-fetched are reported as unknown, never as removed or fixed, and a partial crawl does not replace the baseline.

## About this Actor

This example demonstrates how to use [SEO Deploy Guard: Catch SEO Regressions After Deploys](https://apify.com/smartlinks/seo-deploy-guard.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/smartlinks/seo-deploy-guard.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/smartlinks/seo-deploy-guard.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
