$ legion actor check-redirect-chains-migration
Check redirect chains after a site migration
After a domain or HTTPS move you want to see whether old URLs still land on the new ones, and how many hops they take to get there.
Open the url-status-checker actor in the Apify Store
Price: $0.10 per 1,000 checked URLs. A request that failed or was blocked is not charged. Actor start is $0.00005.
Input for this example
{
"urls": [
"https://wikipedia.org",
"https://python.org",
"http://github.com",
"https://apify.com/store"
],
"maxRedirects": 10
}Sample output
| originalUrl | statusCode | finalUrl | redirectCount |
|---|---|---|---|
| https://wikipedia.org | 200 | https://www.wikipedia.org/ | 1 |
| https://python.org | 200 | https://www.python.org/ | 1 |
| http://github.com | 200 | https://github.com/ | 1 |
Sample from a real run of this example. Personal names and email addresses on this page are redacted.
What this example does not do
The actor does not recrawl the whole old site for you; you bring the URL list. It does not execute JavaScript.