4 output formats · chain & loop detection

301 Redirect Map Generator

Paste a CSV of old → new URLs and get production-ready 301 rules for Apache, nginx, Cloudflare Workers, and Vercel — with chain detection so you don't deploy redirects that hop twice and bleed link equity.

Redirect map (CSV)
One pair per line: /old-path,https://newdomain.com/new-path. Header row optional. 3 pairs parsed.
Output
3 301 redirects generated.
# 301 redirect map — generated by torontoseo.com/tools/redirect-map-generator
RewriteEngine On

Redirect 301 /old-services https://example.com/services
Redirect 301 /blog/2019/legacy-post https://example.com/blog/legacy-post
Redirect 301 /products/v1/widget https://example.com/products/widget

Migration checklist

  • Crawl the live site first; build the source list from real indexed URLs, not guesses.
  • Map every old URL to the closest semantic equivalent — never default to homepage.
  • Avoid chains: redirect A → C, not A → B → C. Each hop loses link equity.
  • Re-crawl post-launch; confirm every old URL returns 301 (not 302) and lands on a 200.