Redirect Checker: 301 Chains for Site Migrations avatar

Redirect Checker: 301 Chains for Site Migrations

Pricing

from $0.46 / 1,000 checked urls

Go to Apify Store
Redirect Checker: 301 Chains for Site Migrations

Redirect Checker: 301 Chains for Site Migrations

Bulk redirect checker for site migrations and SEO audits: every hop with status code and Location, final URL, redirect loops, 301 vs 302, http to https and www changes. Only the URLs you give are checked, no crawling. Empty input runs a free demo.

Pricing

from $0.46 / 1,000 checked urls

Rating

0.0

(0)

Developer

Actor Factory

Actor Factory

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Redirect checker for lists of URLs: follow every redirect hop by hop and see the full chain.

After a site migration, put your old URLs in and see where each one really ends: every hop with its status code (301, 302, 307, 308) and raw Location header, the final URL and status, loops, and whether the chain moved from http to https or added or removed www. One row per URL, ready for a spreadsheet. Also useful for SEO audits (find long chains and temporary redirects) and for checking short links before you publish them. Paste URLs or pick a dataset, then press Start.

Try it free: leave the input empty and press Start — a few sample URLs are checked (not charged, rows carry _demo: true).

$0.65 per 1,000 URLs checked at list price; unreachable URLs and the demo are free.

What you get

urlstatusChainhopsfinalUrlhttpToHttpswwwChangeloop
http://example.com/old301 > 302 > 2002https://www.example.com/newtrueaddedfalse
https://shop.example/a302 > 3072https://shop.example/afalsenulltrue
https://example.com/2000https://example.com/falsenullfalse

Each row also has the full chain:

[
{"step": 1, "url": "http://example.com/old", "statusCode": 301, "redirectType": "permanent",
"location": "https://example.com/old", "nextUrl": "https://example.com/old"},
{"step": 2, "url": "https://example.com/old", "statusCode": 302, "redirectType": "temporary",
"location": "https://www.example.com/new", "nextUrl": "https://www.example.com/new"},
{"step": 3, "url": "https://www.example.com/new", "statusCode": 200, "redirectType": null,
"location": null, "nextUrl": null}
]

How to use

  1. URLs: full URLs with http:// or https://, one per line — or a dataset and the name of its URL field.
  2. Optional: Maximum hops (default 10), Request method (HEAD then GET, or GET only), timeout, concurrency, User-Agent.
{
"urls": ["http://example.com/old-page", "https://example.com/blog/2019/post"],
"maxRedirects": 10,
"method": "auto"
}

After a site migration, the old URLs go in urls:

{
"urls": ["http://example.com/old-page", "http://www.example.com/blog/2019/post"],
"maxRedirects": 10
}

Output fields

  • url, finalUrl, finalStatusCode — what you asked for and where it ended
  • hops, redirected, statusChain (301 > 302 > 200) — how long the chain is
  • chain — every hop: step, url, statusCode, redirectType (permanent for 301/308, temporary for 302/303/307), location (the raw header, relative or absolute) and nextUrl (resolved)
  • loop — a redirect pointed back to a URL already in the chain (error: redirect_loop)
  • httpToHttps, httpsToHttp, wwwChange (added / removed), hostChanged, hasTemporaryRedirect
  • responseTimeMs, checkedAt, error (too_many_redirects, invalid_redirect_url, redirect_to_private_address, timeout, dns_failure, ...)
  • STATS record: URLs checked and charged, redirected, loops, errors, counts by hops and by final status

Limits (cannot be raised by input)

  • Up to 10,000 URLs per run; at most 20 hops per URL; 60 seconds per request at most
  • Only HTTP redirects (3xx with a Location header). JavaScript and <meta refresh> redirects are not followed, because page bodies are never downloaded
  • Polite by design: at most 2 connections per host and at least 0.2 s between requests to the same host
  • URLs that resolve to internal addresses (localhost, private ranges, 169.254.169.254) are never contacted, also when a redirect points there
  • Set a maximum charge per run to cap spend: the run stops cleanly when it is reached and keeps the rows found so far
  • About 3 minutes per run: each URL has 60 seconds in total (all hops included); one that does not finish is returned with error: url_time_limit and is not charged. After about 170 seconds the remaining URLs are not checked and not charged (stoppedEarly: run_time_limit_reached in STATS); run them again. Each URL is charged as soon as its row is saved. If a run is moved to another server or restarted, URLs already checked are skipped, not checked or charged again.

Pricing

Pay per event: $0.00065 per checked URL ($0.65 per 1,000 URLs), no start fee. A URL is charged only when its chain was followed to the end, to a loop or to the hop limit. Invalid, blocked and unreachable URLs (DNS failure, timeout) and the demo are free. Store discounts apply automatically: BRONZE −10%, SILVER −20%, GOLD −30%. On the Apify Free plan, the $5 of monthly platform credit covers about 7,600 URLs a month.

FAQ

Why HEAD first? It is the lightest request and most servers redirect HEAD the same way as GET. When a server refuses HEAD (405 or 501), the same hop is repeated with GET. Choose GET only if a site answers HEAD differently.

Does it crawl my site? No. Only the URLs you give and the redirects they answer with are requested.

How do I check a site migration redirect map? Put the old URLs in urls, run, and export the dataset. Compare finalUrl with your list of new URLs in a spreadsheet. Rows with hasTemporaryRedirect or more than one hop show the redirects worth fixing.

How do I find redirect loops? Rows with loop: true (error: redirect_loop) point back to a URL already in the chain. The chain field shows every step.

Does it check HTTP to HTTPS and www redirects? Yes. httpToHttps, httpsToHttp and wwwChange are on every row.

Does it follow meta refresh or JavaScript redirects? No. Only HTTP 3xx redirects with a Location header are followed, because page bodies are never downloaded.

I need status codes and response times for all pages, not just redirects. Use the Bulk URL Status Checker.

More tools from the same developer

Feedback helps: rate this Actor on its Store page, or open an issue if something didn't work.