Build a 301 redirect map when changing store URLs
Pair each old URL with its replacement, test the final response and update internal links.
The problem
A category moves from /bags to /luggage. Email campaigns and customer bookmarks still use the old path. Some paths can hit errors, and repeated migrations can leave chains. Start with a map of changed URLs.
The tool
Permanent HTTP redirects including 301 and 308 indicate a change in location. Google treats permanent redirects as a signal to show the destination. Pair each path with content that fulfills the same intent.
The steps
- Collect old paths from the sitemap and check important marketing and referral links. Record one old URL, destination and reason per row.
- Pair each category with its direct replacement. Send
/bagsstraight to/luggage. Review paths without an appropriate replacement individually. - Set the permanent server-side redirect in staging. Restrict the match to the old path and prevent the destination from redirecting to itself.
- Request the old URL and expect 301 or 308 with the intended destination. Request the destination directly and confirm a successful response and relevant content.
- Test both language paths on a bilingual site. Record whether campaign query parameters should be preserved for the destination.
- Update internal links and the sitemap to point at the new URLs. After release, sample inbound sources and track errors affecting previously used paths.
The real cost
The hosting platform may provide redirects. Allow time to review broad rules and inventory destinations first.
The free alternative
For a small list, create manual entries in the host's redirect interface and share the mapping sheet with the team.
Notes
- We have not tried these steps ourselves yet. They are based on the official docs. Button names may change. If your interface differs, follow the docs.
- Avoid redirect loops and chains by selecting the final URL before writing the rule.
- Check the destination against the original visitor's intent as well as its status code.
Sources
Did you like this guide?
The weekly newsletter is being prepared. Leave your email and we'll send it when it launches.
We use your email only to send the newsletter. Privacy policy
