Menu

1 / 3

How to check a redirect map before a website migration

DEV Community: node·IT_Crowd·10 days ago
#AxaLIdIu
#devtonodejs#devto#dev#redirect#rows
Long article (1038 words) — no AI summary yet.
Reading 0:00
15s threshold

The redirect map is the spreadsheet behind a website migration: one row per old URL, with the new URL it should go to. The redirect rules are built from it, so every mistake in the map becomes a live mistake on launch day.

We move sites between platforms (Webflow, Shopify, WordPress, custom code), and we check the map before anything goes live. This post covers the three kinds of mistakes we look for, with real output from redirect-map-check , the free, open-source checker we built for it:

Old URLs the map leaves out

Rows that send a URL to the wrong page

Rows that contradict each other

All examples come from the tool's demo shop, Harbor & Pine. It's made up, so there's no client data here.

Start with every old URL

Google's site-move guide says that in the simplest moves, such as a domain change with a wildcard redirect, you may not need a list of old URLs. For more complex moves, you list them and decide where each one goes.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.