Build redirects from a full mapping of old URLs to new ones, put pages with search and business value first, point every changed URL straight at its closest replacement, and check the rules ahead of launch and once it is live.
A solid redirect plan needs to cover old URLs, new URLs, redirects already in place, chains, loops, removed pages, canonical URLs and key backlinks.
Thorough site testing checks the response codes along with where each URL lands, whether that page fits, any chained hops, links inside the site, canonical tags, the sitemap and live production behavior.
Redirects matter most when a site's URL structure shifts as part of a redesign, a migration, a move to a new domain or a large overhaul of its information architecture.
The goal isn't to redirect the largest possible number of URLs. It is to set up a tidy link between each old address and the right new destination.
What principles should guide redirect planning?
Begin with the URL inventory
Work out the redirect plan from the current set of URLs instead of finding missing redirects once the site is live.
Pick relevant destinations
Send a changed URL to the nearest helpful substitute, not to the homepage by default.
Skip needless chains
In most cases, an old URL should land on its final destination in a single step.
Check before going live
Try out redirect rules on staging or in another controlled setting before users and search engines see the migration.
Confirm how production behaves
Keep watching redirects, crawl errors, traffic and indexing signals once the site has launched.
Treat the mapping as the source of truth
Keep a log of the redirects you put in place so later changes don't bring back old migration issues.
What process works best for planning redirects?
Gather the current URLs
Pull together crawl results, analytics, search data, XML sitemaps, backlink reports and past records to find URLs that may need to be migrated.
Decide how each URL will be handled
Label each URL as unchanged, moved, merged, removed or needing more review.
Choose the best-fit destination
When an old URL changes, find the new page that best meets what the original visitor was looking for.
Set up the redirects
Put permanent redirects in place through the right server, platform or application method.
Test single URLs and the whole system
Check a sample of URLs and, when feasible, the complete redirect set, looking at both the response and where it finally lands.
Keep an eye on the live migration
Track crawl errors, indexing, traffic, rankings and redirect behavior once the site launches.
Which redirect is usually right for a permanent URL change?
When a URL is moving to a new address for good, a permanent redirect set at the server is usually the right tool.
How you put it in place depends on the hosting setup, web server, CMS or app architecture. What matters is that the server signals clearly that the old resource has moved for good.
Don't pick a redirect type just because your CMS makes it the simplest choice.
The redirect needs to match how long the URL change is meant to last and be applied the same way throughout the migration.
What does a sound redirect plan look like?
How the URLs are named is beside the point. What counts is that every destination truly matches the old page and is where that content is meant to live going forward.
How should you deal with redirect chains?
A redirect chain happens when an old URL sends visitors to a second URL, which redirects yet again before arriving at the final page.
For example:
Whenever you can, update the first redirect so the old URL goes straight to the final page.
Sites that have gone through several migrations over the years pick up chains easily, so your redirect audit should cover older redirects along with the new ones.
How can you stop redirect loops from happening?
A loop is when URLs keep redirecting to each other and never arrive at a final page.
Wherever URL rules might overlap, test the migration in both directions. Look closely at CMS routing, trailing-slash rules, HTTP-to-HTTPS rules, domain redirects and redirects handled inside the application.
- The old URL loads without errors.
- The redirect target loads without errors.
- No redirect sends traffic back to the starting URL.
- Rules for HTTP and HTTPS don't clash.
- Rules for domains and subdomains don't clash.
- Trailing-slash and URL-normalization rules don't set up loops.
How should redirects be tested ahead of launch?
Run your tests before real production traffic hits the new redirect setup.
Check the response
Make sure the old URL gives back the planned permanent redirect, not a broken page, a surprise temporary redirect or a server error.
Check where it ends up
Confirm the redirect arrives at the precise destination listed in the mapping document.
Check that it goes straight there
Make sure the redirect doesn't route through extra in-between URLs.
Check that the destination fits
Be sure the new page truly takes the place of the content or purpose behind the old one.
Clear out leftover links to old URLs
Links within the site should usually go straight to the new URLs instead of depending on redirects.
How do you test a large set of redirects?
In a big migration, spot-checking a few URLs by hand isn't enough on its own.
Hold the mapping document up against the redirect rules that were actually built, and crawl staging or production to catch odd status codes, chains, loops and missing destinations.
- Each old URL in the mapping has a planned treatment.
- Each redirect target actually exists.
- No key old URL turns up a 404 by surprise.
- There are no chains where a direct redirect would work.
- There are no redirect loops.
- Each redirect target makes sense in context.
- Links within the site now use the new URLs.
- The new XML sitemap lists the intended canonical URLs.
- Canonical tags reference the right final URLs.
What needs checking once the site is live?
Testing redirects doesn't stop on launch day.
Production can behave differently from staging because of CDN rules, server settings, DNS updates, app routing or differences in deployment.
Crawl the live site
Search for broken URLs, surprise redirects, chains and other build problems.
Keep an eye on indexing signals
Look out for indexing or coverage issues that crop up after the migration.
Benchmark organic results
Measure traffic and landing-page results against your pre-launch baseline.
Dig into surprise 404s
Fresh 404 errors can point to gaps in the mapping, stale internal links or older URLs nobody knew about.
Check key pages with backlinks
Make sure pages that earn significant links from other sites still load correctly.
Look at server activity
If you have them, server logs can show crawlers and visitors hitting older URLs that the first audit overlooked.
Which redirect mistakes tend to cause trouble?
- Pointing every removed URL at the homepage.
- Building redirect chains.
- Setting up redirect loops.
- Choosing unrelated destinations just to dodge 404s.
- Letting internal links keep routing through redirects.
- Overlooking older URLs that still earn backlinks.
- Checking only a handful of prominent URLs.
- Pulling redirects right after launch with no proof they are no longer necessary.
- Not watching the live site once it has been deployed.
What belongs on the final redirect QA checklist?
- The mapping from old URLs to new ones is finished.
- Key URLs with organic traffic and backlinks have been handled first.
- Every changed URL has a fitting destination.
- Permanent URL changes use permanent redirects.
- Chains have been cleared out wherever feasible.
- Loops have been ruled out.
- Links within the site go straight to final URLs.
- Canonical tags reference the planned final URLs.
- The XML sitemap lists the planned canonical URLs.
- Redirects were tested ahead of launch.
- Live redirects were tested again once the site launched.
- Crawl errors, traffic and indexing are under active monitoring.
Bottom line
Plan redirects from a full URL mapping instead of piecing them together once the redesigned site is live.
Pin down the URLs that count, point changed URLs to the best-matching destinations, use permanent redirects where they fit, and get rid of needless chains and loops.
After that, test the migration methodically, since status codes, end destinations, relevance, internal links, canonical tags, sitemaps and live behavior all play a part.
The lowest-risk approach to redirects is to document them before launch, test them at scale and keep watching them after launch.