Website Redesign & Migration

How to Build a 301 Redirect Map (With a Template)

A step-by-step method to build a redirect map for a redesign or migration: inventory, matching rules, edge cases, a template and the tests to run before launch.

By Biply Team · · 4 min read

A redirect map is the least glamorous document in a redesign and one of the most valuable. It is a list that says, for every old address that matters, where visitors and search engines should go now. Done carefully, it preserves the value your old pages earned. Done carelessly, it sends everything to the homepage or nowhere.

The short answer: list every old URL that has traffic, links or purpose, match each to its closest new equivalent, use permanent redirects, avoid chains and homepage dumps, then test the map before and after launch. Keep the redirects for as long as possible, generally at least a year.

A disclosure: Biply designs and builds websites and prepares redirect maps for migrations. The method below does not depend on us.

What Google says

  • Use permanent redirects when you are sure the redirect will not be reverted. HTTP 301 and 308 are permanent; 302, 303 and 307 are temporary. Permanent redirects show the new target in search results; temporary ones show the source page.
  • Use server-side redirects where possible; JavaScript redirects only when server-side ones are not possible.
  • Do not redirect many old URLs to one irrelevant single destination.
  • Keep the number of redirects in a chain low, ideally no more than three.
  • Keep redirects as long as possible, generally at least one year.
  • Expect temporary fluctuation in rankings during a move.

Step 1: Build the list of old URLs

Combine sources, because no single one is complete:

  • A crawl of the old site.
  • Search Console’s performance data (pages with clicks or impressions).
  • Analytics landing pages.
  • Your sitemap.
  • Pages with external links, if you have link data.
  • Pages linked from email, print or social media.

Remove duplicates and add columns for clicks, links and purpose.

Step 2: Decide what each page becomes

Old page Decision New URL
Kept as is Same URL No redirect needed
Moved New URL 301 to the new URL
Merged with another page Closest equivalent 301 to the merged page
Retired, no equivalent Gone 404 or 410

Our content audit guide helps with the merge and retire decisions.

Step 3: The template

Use one row per old URL:

Old URL New URL Type Reason Priority Tested
/services/web-design /services/web-design-and-development 301 Service renamed High
/blog/2021-trends /blog/web-design-trends 301 Merged into the current guide Medium
/campaign-spring (none) 410 Seasonal, no equivalent Low

Add columns for query strings or parameters if they matter. Keep it in a shared spreadsheet and treat it as the source of truth.

Step 4: Handle the edge cases

  • Trailing slashes and case. Decide a rule and apply it everywhere.
  • Parameters. Decide which ones matter; usually redirect the clean URL and ignore tracking parameters.
  • http to https and www rules. Combine them so one hop reaches the final URL, not a chain.
  • Pages that changed language or folder. Map them one by one.
  • Paginated or filtered pages. Map the main list; avoid redirecting every page to the first.
  • Old redirects. Re-map them so old-old URLs point directly to the new URL, not through two hops.
  • Images and downloads that others link to.

Step 5: Implement on the server

Redirects belong on the server or platform level. Ask your developer to confirm the status codes, because some tools default to temporary redirects. Our platform migration checklist covers where redirect rules fit in a cutover.

Step 6: Test

  1. Before launch, test a sample of 50 important URLs on staging or with a script.
  2. At launch, test every high-priority row on the live domain.
  3. Check: final status is 200, the number of hops is one, the destination is the intended page and the page is indexable.
  4. After launch, watch Search Console for 404s and crawl errors, and re-test in 30, 60 and 90 days. See the first 90 days checklist.

Common mistakes

  • Redirecting everything to the homepage.
  • Chains that grow with each redesign.
  • Redirecting to pages that are themselves noindexed or redirected.
  • Forgetting the sitemap: it should list new URLs only.
  • Removing redirects after a few months.
  • Not updating internal links.

Next steps

If you want a redirect map prepared and tested for a redesign, see our web design and development service and contact us. For the wider process, read redesigning without losing SEO.

Sources

To check what your server returns for deleted and moved URLs, see HTTP status codes, 404s and soft 404s. If you are redesigning URLs, read URL structure for business websites.

FAQ

Frequently asked questions

What is a redirect map?

A spreadsheet that lists every old URL that matters and the new URL it should redirect to, with the redirect type and a note on why. It becomes the specification for developers and the checklist for testing.

Should I use 301 or 302 redirects for a migration?

Google says to use permanent redirects when you are sure the redirect will not be reverted. HTTP 301 and 308 are permanent; 302, 303 and 307 are temporary. Permanent redirects show the new target in search results; temporary ones show the source page.

Should I redirect everything to the homepage?

No. Google advises against redirecting many old URLs to one irrelevant destination. Map each old URL to its closest equivalent, and let truly gone pages return a 404 or 410.

How long should redirects stay?

Google says to keep them as long as possible, generally at least one year.

How long should redirect chains be?

Google advises keeping the number of redirects in a chain low, ideally no more than three. Update internal links so they point to the final URL.

Keep reading

Cookie settings

Choose which cookies we can use. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Always on

Needed for the site to work and to remember your cookie choice. They do not track you.

Help us measure visits, traffic sources (including AI assistants) and how pages are used: Google Analytics 4, Microsoft Clarity and Searchable Analytics. See the cookie policy for details.