---
title: "How to Build a Redirect Map for a Website Migration"
description: "A step-by-step 301 redirect map for a website migration: find every old URL, decide keep, redirect or drop, write the rules, test them and keep your rankings."
url: https://www.shaheermalik.com/migrations/redirect-map
language: en
format: agent view of this page (the same content as the page, as plain text)
updated: 2026-11-23
---

[Migrations](https://www.shaheermalik.com/migrations) · Redirect map

# How to build a redirect map for a website migration

Rankings belong to addresses. This is the list that carries them from the old site to the new one, built step by step, with the rules each platform accepts and Google's own advice on how long to keep them.

[Book a 30-minute call](https://www.shaheermalik.com/contact) [See migrations](https://www.shaheermalik.com/migrations)

At a glance

- Permanent codes 301 and 308
- Keep redirects At least a year
- Google follows Up to 10 hops
- Framer's limit 2,500 redirects

By [Shaheer Malik](https://www.shaheermalik.com/about) · Google and platform docs checked on 28 October 2026

**Quick answer:** A redirect map is a list of every URL on the old site with the address it should go to on the new one. Build it before any design work: collect every old URL from the sitemap, analytics, Search Console and the CMS, mark each one keep, redirect or drop, write permanent redirects straight to the final page, test every row, and keep the redirects for at least a year, as Google advises.

## What a redirect map looks like

One row per old URL. A spreadsheet is enough; what matters is that every address the old site has ever served is on it, and every row has a decision.

| Old URL | New URL | Redirect | Why |
| --------------------------- | -------------------- | --------------------- | --------------------------- |
| /about-us/ | /about | Permanent | Same page, new address |
| /pricing | /pricing | None | Address kept, nothing to do |
| /2024/05/28/pricing-update/ | /blog/pricing-update | Permanent, by pattern | Dated post paths, one rule |
| /team/ | /about | Permanent | Merged into About |
| /old-webinar-2022/ | None | 404 | Dropped, no equivalent |

## Step 1: list every old URL

Google's [site move guide](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) starts here too: map the old URLs to the new ones. No single source has them all, so I combine these:

- **The XML sitemap.** The pages the old platform says exist. Often incomplete, but a good start.
- **Analytics.** Every page that had a visit in the last year, including ones missing from the sitemap.
- **Google Search Console.** Pages with impressions and the pages other sites link to. These carry the most value.
- **The CMS or an export.** Every post, page and collection item, drafts excluded. WordPress exports a WXR file; Webflow exports each collection as CSV.
- **Existing redirects.** The old site's own redirect list, so links that were redirected once keep working.
- **Server logs, if you have them.** Google lists them as a way to find URLs that were recently requested.

Merge the lists, remove duplicates and anything with a tracking query on the end, and sort by traffic. The pages at the top are the ones you cannot afford to get wrong.

## Step 2: decide keep, redirect or drop

Every row gets one of three decisions:

- **Keep.** The page survives at the same address. Nothing to redirect, and the safest outcome, so keep addresses wherever the new site allows.
- **Redirect.** The page survives at a new address, or its content is merged into another page. One permanent redirect, straight to the final page.
- **Drop.** The page has no equivalent and no traffic or links worth keeping. Let it return 404\. Google removes indexed URLs that return a 4xx.

Merging is fine. Google says redirecting several old pages to one page is reasonable when that page has taken over their content. What it warns against is pointing many unrelated pages at one destination such as the homepage, which it may treat as a soft 404.

To do steps 2 and 3 faster, paste both URL lists into my free [redirect planner](https://www.shaheermalik.com/tools/redirect-planner). It matches each old URL to its closest new page, flags chains and homepage redirects, and writes the rules for Framer, Webflow, Squarespace, Cloudflare Pages and other platforms. It runs in your browser, so nothing you paste is uploaded.

## Step 3: write the rules, specific before general

Most moves need far fewer rules than rows. A pattern rule covers a whole folder, such as every blog post moving from one path to another, and single rules handle the pages that do not fit a pattern. Write the single rules first and the wildcards after, because several platforms read the list in order and stop at the first match.

| Platform | Where | A pattern rule | Limits |
| ---------------- | ----------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| Framer | Site Settings → Hosting → Redirects, on Pro and above | /blog/\* to /articles/:1, with \* capturing and :1, :2 reusing | Framer's plugin reference names a maximum of 2,500 redirects |
| Webflow | Site settings → Publishing → 301 redirects | /oldfolder/(.\*) to /new/%1 | Rules run in the order they were created; a CSV import replaces every existing redirect, so export first |
| Squarespace | Developer tools → URL mappings | /blog/\[name\] -> /posts/\[name\] 301 | About 2,500 lines (400 KB); no ?, & or #; cannot redirect the homepage or image and file URLs |
| Cloudflare Pages | A \_redirects file in the site's output | /blog/\* /articles/:splat 301 | 2,000 static and 100 dynamic redirects; a rule without a code is a 302 |

From each platform's own documentation, read on 28 October 2026\. Framer's Basic plan has no redirects at all, which is why every move to Framer runs on Pro.

## 301 or 308: permanent is what matters

Google's [redirects documentation](https://developers.google.com/search/docs/crawling-indexing/301-redirects) treats 301 and 308 as permanent and 302, 303 and 307 as temporary. A migration needs permanent redirects, which tell Google the new page should replace the old one in search. Which permanent code you get depends on the platform: Webflow's redirect list is labelled 301, Squarespace's URL mappings take a 301 or 302 code, and Framer's own site answers its redirects with 308\. Any permanent code is fine.

Server-side redirects are best. Google reads an instant meta refresh as permanent too, and says to use a JavaScript redirect only when neither is possible, because it may never see it if the page fails to render.

## Step 4: test every row before and after the switch

A redirect map is also the test plan. Each old URL should answer with a permanent redirect whose destination answers 200, in one hop. On a staging domain this catches mistakes before launch; on the live domain it proves the switch worked. From a terminal, one URL at a time:

```
curl -sI https://www.example.com/about-us/ | grep -iE "^(HTTP|location)"
```

For a whole list, a short script or a crawler that reads URLs from a file does the same job. Any row that answers 404, 302, or a redirect to another redirect goes back to step 3.

## Step 5: after the switch

- **Update internal links.** Point menus, footers and links inside your own content at the new addresses, so visitors and crawlers skip the redirect altogether.
- **Submit the new sitemap.** Add the new sitemap in Search Console and remove the old one, as Google's site move guide advises.
- **Check canonicals.** Each new page should name itself as canonical, not an old address.
- **Watch Search Console.** Expect some movement: Google says rankings fluctuate during a move and that most pages of a small or medium site move within a few weeks. Fix any new 404 with a redirect.
- **Keep the redirects.** Google says generally at least a year, and suggests keeping them indefinitely for people who still use old links.
- **Change of Address, only if the domain changes.** Google's tool is for moves between domains or subdomains. A move to a new platform on the same domain does not need it.

These come from Google's [site move guide](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) and its [status code reference](https://developers.google.com/search/docs/crawling-indexing/http-network-errors), both read on 28 October 2026.

## Seven mistakes that cost rankings

- **Sending everything to the homepage.** Google says many old URLs pointed at one unrelated page can be treated as a soft 404\. Redirect to the closest equivalent, or let the page go.
- **Temporary redirects by accident.** A 302 tells Google the move may be reversed. Cloudflare Pages uses 302 when no code is written, so write the code on every rule.
- **Chains.** Old redirects that point at pages which now redirect again. Google's crawlers follow up to 10 hops, but every hop is slower for people. Point each old URL straight at its final page.
- **General rules above specific ones.** Webflow runs rules in the order they were created and Squarespace reads them top to bottom. A broad wildcard placed first catches URLs meant for a specific rule.
- **Forgetting files.** PDFs and downloads that other sites link to are URLs too. They need a new home and, where the platform allows, a redirect.
- **Overwriting the old list.** A Webflow CSV import replaces every existing redirect. Export the current list first and import one file with everything in it.
- **Cancelling the old site too soon.** Keep the old platform until every row of the map has been tested on the live domain.

## The URL patterns each platform leaves behind

Every platform shapes its addresses differently, which decides how many pattern rules a move needs:

- **WordPress:** posts follow the permalink setting, from `?p=123` to dated paths, with archives under `/category/` and `/tag/`.
- **Webflow:** collection items live under the collection's URL, such as `/post/your-post`.
- **Squarespace:**blog posts follow the blog's post URL format, and a format change only applies to new posts, so one blog can hold several patterns.
- **Wix:** blog posts sit under a `post` prefix that can be renamed but not removed.

Each move's page lists them in detail: [WordPress to Framer](https://www.shaheermalik.com/migrations/wordpress-to-framer), [Webflow to Framer](https://www.shaheermalik.com/migrations/webflow-to-framer), [Squarespace to Framer](https://www.shaheermalik.com/migrations/squarespace-to-framer) and [Wix to Framer](https://www.shaheermalik.com/migrations/wix-to-framer).

## Or have it done as part of the move

On every migration I build this map first, before any design work, and test it on the live domain after the switch. The move runs on the [website redesign sprint](https://www.shaheermalik.com/shipitlive/website-redesign-in-14-days): $1,500 fixed, 14 days, for a site of up to about 25 pages, with the old site live until you approve the new one and 30 days of support after launch. Larger sites are quoted separately.

## Redirect map questions

### What is a redirect map?

A redirect map is a list of every URL on the old site, each paired with where it should go on the new site: the same address, a new address, or nowhere. It is the plan the redirect rules are written from and the checklist they are tested against.

### Should I use a 301 or a 308 redirect?

Either. Google treats 301 and 308 as permanent redirects and 302, 303 and 307 as temporary. What matters is that a migration uses a permanent one. Webflow's redirect list is labelled 301, Squarespace's URL mappings take a 301 or 302 code, and Framer's own site answers its redirects with 308.

### How long should I keep redirects after a migration?

Google's site move guide says generally at least one year, and suggests keeping them indefinitely so people with old links still arrive. I leave them in place.

### Can I redirect every old page to my homepage?

No. Google says redirecting many old URLs to one unrelated page, such as the homepage, can confuse people and may be treated as a soft 404\. Redirect each page to its closest equivalent, or let pages with no equivalent return 404.

### How many redirects can a site have?

It depends on the platform. Framer's plugin reference names a maximum of 2,500, Squarespace's URL mappings hold about 2,500 lines, and a Cloudflare Pages \_redirects file holds 2,000 static and 100 dynamic rules. Wildcards keep the count down, because one rule can cover a whole folder.

### Do redirect chains hurt SEO?

Google's crawlers follow up to 10 redirect hops by default, so a short chain is not fatal, but each hop is a slower page load for visitors. Point every old URL straight at its final page, and update older redirects when you add new ones.

### Do I need Google's Change of Address tool?

Only when the domain or subdomain changes. Google says it is not needed for moves within the same domain, so a platform switch that keeps your domain does not use it.

## Keep exploring

- [Website migration to Framer](https://www.shaheermalik.com/migrations), the hub
- [Website redesign in 14 days, $1,500](https://www.shaheermalik.com/shipitlive/website-redesign-in-14-days)
- [Migrating to Framer](https://www.shaheermalik.com/blog/migrate-to-framer), the guide
- [Is Framer good for SEO?](https://www.shaheermalik.com/blog/is-framer-good-for-seo)
- [AI visibility score](https://www.shaheermalik.com/tools/ai-visibility-score), to check the new site once it is live

Work I designed and built

[ Silver Cat Boats Marine / Luxury · 2024](https://www.shaheermalik.com/case-studies/silver-cat-boats) [ Quadzio SaaS · 2024](https://www.shaheermalik.com/case-studies/quadzio-case-study) [ EagleRider Website Redesign Travel & Mobility · 2024](https://www.shaheermalik.com/case-studies/eaglerider-website-redesign)

Shown as the standard of work. Each project had its own scope and price. [All case studies](https://www.shaheermalik.com/case-studies)

## Move your site without losing your traffic

Book a 30-minute call or send a brief. You get a scope and a fixed quote within 24 hours.

[Book a call](https://www.shaheermalik.com/contact) [See migrations](https://www.shaheermalik.com/migrations)

Only need a marketing site of up to 25 pages? The [fixed-price website](https://www.shaheermalik.com/fixed-price-website) is $1,500, designed and built in Framer and live in 14 days.

## What you can do here
- Get a fixed-price proposal: https://www.shaheermalik.com/proposal/chat (describe the project in a sentence or two)
- Free website audit: https://www.shaheermalik.com/audit?site=example.com (replace example.com with the site; the score needs no email)
- Book a free scope call: https://www.shaheermalik.com/fixed-price-website#book
- Contact: https://www.shaheermalik.com/contact
- Prices and facts for the whole site: https://www.shaheermalik.com/llms.txt

## Structured data

```json
{
 "@context": "https://schema.org",
 "@type": "HowTo",
 "@id": "https://www.shaheermalik.com/migrations/redirect-map#howto",
 "name": "How to build a redirect map for a website migration",
 "description": "A step-by-step 301 redirect map for a website migration: find every old URL, decide keep, redirect or drop, write the rules, test them and keep your rankings.",
 "step": [
  {
   "@type": "HowToStep",
   "name": "List every old URL",
   "text": "Collect URLs from the sitemap, analytics, Search Console, the CMS and existing redirects."
  },
  {
   "@type": "HowToStep",
   "name": "Decide keep, redirect or drop",
   "text": "Mark each URL: same address, a new address, or let it return 404."
  },
  {
   "@type": "HowToStep",
   "name": "Write the rules",
   "text": "Permanent redirects straight to the final page, specific rules before wildcards."
  },
  {
   "@type": "HowToStep",
   "name": "Test every row",
   "text": "Request each old URL and confirm a permanent redirect to a page that returns 200."
  },
  {
   "@type": "HowToStep",
   "name": "Follow up after the switch",
   "text": "Update internal links, submit the new sitemap and keep the redirects for at least a year."
  }
 ]
}
{
 "@context": "https://schema.org",
 "@type": "WebPage",
 "@id": "https://www.shaheermalik.com/migrations/redirect-map#webpage",
 "url": "https://www.shaheermalik.com/migrations/redirect-map",
 "name": "How to Build a Redirect Map for a Website Migration",
 "description": "A step-by-step 301 redirect map for a website migration: find every old URL, decide keep, redirect or drop, write the rules, test them and keep your rankings.",
 "datePublished": "2026-10-28",
 "dateModified": "2026-10-28",
 "author": {
  "@type": "Person",
  "@id": "https://www.shaheermalik.com/#person",
  "name": "Shaheer Malik"
 }
}
```
