Zahid Awais Get a free audit

Free redirect map generator

Match old URLs to new ones and export a ready to use 301 redirect map for your migration.

By Zahid Awais · Technical SEO tools · Free, private, no sign-up

Result
0Matched
0Unmatched
0Warnings
OldNewScore
    Redirect Map Generator: what it does and an example result

    The free redirect map generator runs in your browser, needs no sign-up and never sends what you type anywhere.

    Quick answer

    This redirect map generator pairs your old URLs with new ones, either line by line or by auto matching similar slugs, then exports the map as CSV, Apache htaccess, Nginx or WordPress plugin CSV. Rule of thumb: map every old URL to its closest equivalent, never mass redirect to the home page, and avoid chains.

    What is a redirect map generator?

    A redirect map generator is a tool that builds the old URL to new URL table you need before a site migration. It compares the last path segment of each URL, scores word overlap between slugs, keeps the best match above a threshold, and flags unmatched URLs, loops and chains so you can fix them by hand.

    How do you use the Redirect Map Generator?

    How to use the Redirect Map Generator: enter details, see the result and copy it
    Real screenshot of the Redirect Map Generator with the steps marked.
    1. Paste the old URLs, for example from your old sitemap, analytics or Search Console export.
    2. Paste the new URLs from the new site sitemap.
    3. Choose line by line pairing if both lists are already in the same order, or auto match by slug.
    4. Review the match table, then fix the unmatched URLs and low scores by editing the lists.
    5. Pick an export format and download the redirect map or copy the rules into your server config.

    What is a redirect map in SEO?

    A redirect map is a list that pairs every old URL with the new URL it should 301 redirect to during a site migration. Building it first lets you keep links and rankings, avoid 404s and spot pages with no equivalent. Google recommends preparing this mapping in its site move guide.

    Can I redirect all old pages to the home page?

    No, redirecting many unrelated old pages to the home page can be treated as a soft 404, so the old signals may be lost. Map each URL to the closest relevant page instead, such as the matching product, category or article. If no equivalent exists, a 404 or 410 is the honest answer.

    How long should migration redirects stay live?

    Keep migration redirects for at least 1 year, which is what Google recommends so it can transfer signals and recrawl links. Pages with valuable backlinks should keep their redirects permanently, since external sites rarely update their old links.

    Quick reference

    Export formatUse it forRule example
    CSVReview in a spreadsheet and share with developers/old-page/,https://example.com/new-page/
    Apache htaccessApache and LiteSpeed hostingRedirectMatch 301 ^/old-page/?$ https://example.com/new-page/
    NginxNginx servers inside a server blocklocation = /old-page/ { return 301 https://example.com/new-page/; }
    WordPress plugin CSVImport into a redirect plugin/old-page/,https://example.com/new-page/,0,301

    Worked example

    Example

    Example: old URLs /blog/seo-tips-2024/ and /services/link-building.html and new URLs /blog/seo-tips/ and /link-building-services/. Auto match pairs seo-tips-2024 with seo-tips (score 67%) and link-building with link-building-services (score 67%). Both pass the 50% threshold and export as 2 rules.

    Frequently asked questions

    How does the auto match work?

    It takes the last part of each URL path, splits it into words on hyphens and underscores, removes the file extension and compares word overlap. Exact slug matches score 100%. Anything under your chosen threshold is left unmatched so you can map it by hand instead of trusting a guess.

    Where do I get the list of old URLs?

    Combine your old XML sitemap, a crawl of the old site, top landing pages from analytics and pages with backlinks from Search Console. Include images and PDFs that earn traffic. The more complete the list, the fewer 404s you will see after launch.

    What does a redirect chain warning mean?

    A chain happens when a new URL in your map is itself redirected to another URL, so users and crawlers make two or more hops. Point each old URL directly to the final destination. Google follows short chains, but each hop slows users down.

    Should I use 301 or 308 for a migration?

    Both are permanent and Google treats them the same way for canonicalization. 301 is the most widely supported and is what this tool exports. Use 302 or 307 only if the move is temporary and you plan to switch back.

    Does the WordPress CSV work with every plugin?

    The export uses source, target, regex flag and status code columns, a common import layout. Plugins differ, so check your plugin import screen and adjust column names if needed. Always test a few redirects after importing.

    Are my URL lists uploaded anywhere?

    No. Matching and export happen entirely in your browser, so your site structure stays private. Large lists of several thousand URLs work, but matching is quadratic, so very large lists may take a few seconds on slower devices.

    Sources

    Facts checked against these official pages. Read how I check facts in my editorial policy.

    Related free tools

    All 104 tools

    Canonical Tag Generator

    A canonical tag generator is a tool that builds the link rel="canonical" element telling search engines which…

    Nginx Redirect Generator

    An Nginx redirect generator is a tool that turns old and new URLs into Nginx configuration such as location =…

    Coming 12 Oct

    Want a full audit instead?

    Send your website and I will check it for you, free.

    Get my free audit
    Chat on WhatsApp

    Related guides

    Free updates

    Get new tools, guides and coupons first

    One short email when something new goes live: articles, free SEO tools, package updates, discounts and price alerts. No spam, unsubscribe in one click.