Redirect Chain (follow + detect)

action_redirect_chain · action · Utility · Available · v1.0.0

Description

Tracciatore di redirect chain HTTP — segue ogni hop manualmente (NO follow automatico) e restituisce array completo di redirect con status code, Location header, latency, body bytes (HEAD-mode default), URL finale. Rileva loop circolari, redirect cross-protocol (http→https), redirect cross-domain, e flag catene "troppo lunghe" (>3 hop) per impatto SEO link juice. Differenza con i sibling: action_redirect_chain = traccia chain HTTP (URL → array hops). Per audit broken links su pagina HTML usa action_link_audit. Per parsing meta tag dopo aver risolto il redirect finale usa action_meta_extract. Per fetch HTML auto-follow (per scraping) usa action_web_fetch_advanced. Status codes gestiti: 301 Permanent (canonical SEO juice transfer), 302 Found (temporary — no SEO transfer), 303 See Other (POST → GET conversion), 307/308 (method preservation), Refresh meta tag (HTML `<meta http-equiv="refresh">`) estratto se presente (browser segue, crawler ignora — flag come "weak redirect"). Detection canonical mismatch: URL finale != og:url / canonical = red flag SEO. Output: `{ chain: [{ url, status, location, latencyMs, server, contentType }], finalUrl, hopCount, loopDetected, crossDomainCount, totalLatencyMs, seoImpact: "good"|"warning"|"bad" }`. seoImpact deterministico: good (1-2 hop), warning (3-4 hop o cross-domain), bad (5+ hop o loop). Use case Cappella-Sistina-grade: (1) **audit post-migrazione sito** — fetch sitemap vecchia, per ogni URL → redirect_chain → verify che redirige a URL nuova in 1 hop con 301 (no juice loss). Alert se 302 (settato per sbaglio); (2) **vanity URL verifier** — bit.ly/short.io/custom domain — segui chain fino al final URL per detection malicious redirect (advertiser frode); (3) **canonical URL audit propri prodotti** — il canonical e\` raggiungibile in 1 hop? O passa per 3 redirect? Google CMM penalizza chain > 3; (4) **debug cookie-redirect login flow** — per debug SSO flow custom, tracci ogni 302 con il cookie state passato. Safety budget: SSRF guard via @flowforge/safe-fetch (no fetch a 127/10/192/ link-local), timeout 8s per hop, max 20 hop totali (oltre → loop break), audit log con startUrl + finalUrl + hopCount per SEO traceability.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
url
URL di partenza
stringyes
https://miosito.com/old-page
URL da cui partire. Supporta {{espressioni}}. SSRF: indirizzi interni bloccati.
maxHops
Max redirects da seguire
numberno10Default 10. Hard cap 20. Una catena > 3 hop perde "link juice" SEO.
userAgent
User-Agent
stringno
FlowForge-RedirectChain/1.0
User-Agent identificativo del bot. Default identifica FlowForge (RFC-compliant).

⬆️ Node output

Fields available to downstream nodes via $node.<alias>.json.<field>:

  • startUrl
  • finalUrl
  • ok
  • hopCount
  • chain
  • loopDetected
  • exceededMaxHops
  • error

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-action_redirect_chain-1",
  "defId": "action_redirect_chain",
  "label": "Redirect Chain (follow + detect)",
  "config": {
    "url": "https://miosito.com/old-page",
    "maxHops": 10
  }
}

🔗 Related nodes in the same category

Ready to use Redirect Chain (follow + detect)?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes