Redirect Checker for Site Migrations: Chains, Loops, 301 vs 302 avatar

Redirect Checker for Site Migrations: Chains, Loops, 301 vs 302

Pricing

$0.30 / 1,000 url checkeds

Go to Apify Store
Redirect Checker for Site Migrations: Chains, Loops, 301 vs 302

Redirect Checker for Site Migrations: Chains, Loops, 301 vs 302

Validate 301/302 redirects after a site migration. Per URL: status, hop chain, loops, final URL vs expected, canonical, title, H1, noindex. PASS/WARN/FAIL report.

Pricing

$0.30 / 1,000 url checkeds

Rating

0.0

(0)

Developer

LightData Tools

LightData Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Moving a website or changing URLs? Check that every old URL redirects to the right new page before and after launch. Paste old-to-new URL pairs, or give the old sitemap, and get a PASS / WARN / FAIL result for each URL.

What it checks, per URL

  • Status code of every hop (301, 302, 307, 308, 404, 5xx).
  • Redirect chains: flags more than 1 hop, with the full chain listed.
  • Redirect loops and chains over your hop limit.
  • Permanent vs temporary: warns on 302/303/307 where a migration needs 301/308.
  • Final URL vs expected URL (you can ignore query strings).
  • Final page: HTTP status, <title>, first <h1>, canonical tag (and whether it matches the final URL), noindex.

Input

Three ways, mix them freely:

  1. mappings: [{"oldUrl":"https://old.com/a","newUrl":"https://new.com/a"}]
  2. oldUrls: plain list, checked without an expected target.
  3. oldSitemapUrl + newBaseUrl: reads the old sitemap and expects the same path on the new site.

Output

  • Dataset: one row per URL (export CSV, JSON, Excel from Console or API).
  • REPORT.csv and REPORT.md in the key-value store: all rows, and only the problems.
  • SUMMARY: counts of pass, warn, fail, loops, long chains, wrong final URLs, temporary redirects.

Notes

  • Title and H1 are read from the final page. The old page no longer exists after a redirect, so a before/after content diff needs the old content from you.
  • Safety: requests to localhost, private networks and cloud metadata addresses are blocked (also when a redirect points there), and only ports 80, 443, 8080 and 8443 are used. Blocked, invalid and duplicate URLs are not charged.
  • Sends normal GET requests with an identifiable user agent. Use low concurrency on small servers. Only check sites you own or are allowed to test.
  • Cost: runs are light; about 1,000 URLs use a few cents of platform compute.

API

curl -X POST "https://api.apify.com/v2/acts/lightdata-tools~redirect-migration-validator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mappings":[{"oldUrl":"http://github.com","newUrl":"https://github.com/"}]}'

Use cases

  • SEO teams and agencies: QA every redirect before and after a site migration.
  • Developers: add a redirect check to your release routine.
  • Find chains, loops and 302s that should be 301s.
  • Re-run weekly for a month after launch to catch regressions.

Automate it (API, n8n, Make, Zapier)

Run it from any tool that can call a URL. Replace YOUR_TOKEN with your Apify API token (Console > Settings > API & Integrations).

curl -X POST "https://api.apify.com/v2/acts/lightdata-tools~redirect-migration-validator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mappings":[{"oldUrl":"http://github.com","newUrl":"https://github.com/"}]}'
  • n8n: add an "HTTP Request" node, method POST, the URL above, JSON body as shown. Or use the official Apify node and pick this Actor.
  • Make: use the Apify app "Run an Actor" module (or HTTP "Make a request") with the same input.
  • Zapier: use the Apify integration "Run Actor", or "Webhooks by Zapier" with a POST to the URL above.
  • Schedules: in Apify Console, Schedules, create a daily or weekly run with your input.