SEO guides

Fixing the Redirect Chains a Website Redesign Leaves Behind

Author: Lucky Oleg | Published

To fix a redirect chain, change the first redirect so its Location is the final working URL. Keep the intermediate address redirecting there too. Someone may have bookmarked either address. Then update links you control to go straight to the destination.

The awkward part after a redesign is finding which rule issues that first response. An old link to a Wellington House Repiling photo illustrates the problem. Open it in a browser and you get the photo. Read each response and you see two separate decisions about where the photo lives.

A real redirect chain with two correct rules

The first version of the rebuilt Wellington House Repiling gallery still referenced the photo in WordPress at /wp-content/uploads/2021/07/Access.1.jpeg. The site’s source history shows that on 30 March 2026 the team changed that reference to a self-hosted JPEG at /images/Access.1.jpeg. On 1 August it added the WebP and a permanent redirect from the self-hosted JPEG filename. That March address is the one we traced.

On 2 December 2026 we sent an ordinary GET to the JPEG address, followed each redirect and checked the file. We started at https://wellingtonhouserepiling.co.nz/images/Access.1.jpeg.

RequestResponseWhat changed
1. wellingtonhouserepiling.co.nz/images/Access.1.jpeg301The host gained www.. The path still ended in .jpeg.
2. www.wellingtonhouserepiling.co.nz/images/Access.1.jpeg308The relative Location was /images/Access.1.webp. The host stayed the same.
3. www.wellingtonhouserepiling.co.nz/images/Access.1.webp200The server delivered a WebP image, 1,200 × 900 pixels and 143,404 bytes.

The starting address determines the count. On HTTPS we saw two redirects without www and one with it. Requesting the old non-www JPEG over plain HTTP added a 308 to HTTPS before the host changed, bringing the total to three. Testing only the current gallery would miss the old filename altogether because its markup already uses optimized image URLs.

The old link worked. Google’s site-move guidance favors going straight to the destination. When a chain is unavoidable, Google recommends three hops or fewer if possible and fewer than five. Permanent redirects do not themselves cost PageRank. Here we measured the requests it took to deliver one image. We have no traffic or ranking measurement for that URL.

Find the rule that can remove the extra request

Read the first Location next to the URL you requested. If only the hostname changed, start with the domain redirect at the host or CDN. If only a slash changed, look at URL normalization. If the path changed to an old slug that redirects again, look for a previous migration rule still pointing to last year’s destination. Response headers tell you what changed. Verify which system issued them before editing.

Consider a move from /repairs/ to /services/repairs/ and later to /foundation-repairs/. Adding the second move preserves both old addresses, but requests to the oldest one now travel twice. Edit the original rule as well. An exact match for either retired path should return the final path. Leave the final path outside both matches so it can return the page.

For Wellington, we checked the Vercel domain settings. The bare domain is configured to send a 301 to www.wellingtonhouserepiling.co.nz. The www domain has no domain redirect. Once the request reaches the project on www, the filename rule sends the 308.

That first 301 applies to the whole domain, before the project’s rules run. Adding a filename exception to the project would leave it intact. Collapsing these two steps would require changing how requests to the entire bare domain are handled. For a working gallery image, keeping the two-hop HTTPS route is a reasonable choice. Neither the public gallery nor the final WebP needs that shortcut.

What changes when one server controls both redirects?

We reproduced the HTTPS route’s two redirects on a local HTTP server using test hostnames and the same image paths. Here we controlled the first response. We put an exact match for the old hostname and JPEG path ahead of the general host rule, sending that one request straight to the full www WebP address. The general rule still handled other paths.

The live HTTPS route gets a domain-wide 301 to the www JPEG, then a 308 to the WebP. The local server controls both rules and sends one 301 directly to the WebP.
The upper route is live on Wellington. The lower route shows what we tested locally, where an exact filename rule could run before the host redirect.
Starting address in the local testBeforeAfter
Old host, old JPEG301 → 308 → 200301 → 200
Preferred host, old JPEG308 → 200308 → 200
Preferred host, final WebP200200
Old host, unrelated gallery path301 → 200301 → 200

We saved the WebP returned by the public GET and compared each local image response with it byte for byte. All 143,404 bytes matched. The same file was also present in the August source revision. The unrelated gallery path would have caught a rule that sent every request on the old host to one photo. In both runs it still reached the gallery. We made no change to Wellington’s redirects.

Avoid a blanket rule that replaces every .jpeg with .webp. Some files may have kept their original format, acquired a different basename or been removed. Build paired rows from the old media inventory and the actual replacement files. Use a pattern only when you have checked its exceptions.

Trace your own redesign redirects with a GET

Start from a URL copied from an old sitemap, an external link or a pre-redesign export. Preserve the original hostname, capitalization, extension, trailing slash and any significant query string. Pasting the address from the browser bar after the page loads often gives you the destination.

Run the URL through the Redirect Checker to see each status and Location. For a reproducible terminal check, the following command requests the Wellington image, follows HTTP redirects, prints the response headers at each step and saves the final file in the current directory. Use an unused output filename.

curl --silent --show-error --location --max-redirs 10 \
  --dump-header - --output wellington-redirect-test.webp \
  --write-out '\nFinal %{http_code} | %{num_redirects} redirects | %{url_effective}\n' \
  'https://wellingtonhouserepiling.co.nz/images/Access.1.jpeg'

This uses GET. The curl manual documents how following redirects, dumping headers and reporting the effective URL work. The familiar curl -I sends HEAD, so it cannot establish that the final image data arrived. Open the saved image. For a page, read the heading and content. A branded error page or an unrelated homepage can also return 200.

If a URL repeats and the requests never reach content, you have a loop. Read the two Locations around the repeat. A host rule that adds www and another that removes it need one agreed destination. A timeout, refusal or bot check leaves the subsequent route unknown. Record where the check stopped and try a normal visit before declaring the old link broken.

Check the addresses people still use

A redirect map often starts with paths and loses the host and scheme. For the URLs that matter, give each known starting variant its own row. Record the expected final address, observed statuses, final content and who can change the first response. The migration redirect mapper helps compare old and new inventories. A human still needs to decide whether a proposed destination serves the original purpose.

  • External links and bookmarks. Retest old service pages, images, PDFs and earlier aliases, including intermediate addresses other sites might link to. Google’s site-move guidance recommends sending old addresses directly to their replacements and retaining migration redirects for at least a year in general. A useful incoming link can justify keeping one much longer.
  • Links on your current site. Point navigation, article links and image references directly at the current resource. Run the Broken Image Checker on the gallery page to find failing image requests, then inspect the subject of each replacement yourself. For a moved, indexable HTML page, check the destination’s canonical and update sitemap entries and language links that still name the old URL. An HTML canonical has no role in repairing the image trace above.
  • Meaningful variants. For a translated page, check that the destination is in the right language. For a download or a query-selected item, inspect what comes back when the meaningful parameter is present. A wildcard that drops the item identifier can send everyone to the same generic page.
  • Deliberate removals. Where an old page has no relevant replacement, a genuine 404 or 410 can be the right outcome. Google’s redirect guidance distinguishes permanent moves, such as 301 and 308, from temporary ones. Reserve permanent redirects for moves you intend to keep.

For a redesign still in planning, the migration workbook has space for both expected and observed responses. If the site is already live and two teams own the CDN and the CMS, the most useful handoff is small enough for one ticket. Include the exact starting URL, every observed Location, the intended destination, and one neighboring URL that must keep working. Those details also give a Website Fix Sprint a concrete acceptance test.

Recommended tools for this guide

Useful info? Spread the Aloha:

Lucky Oleg

Lucky Oleg is the founder of Web Aloha, a web design & SEO agency helping businesses ride the digital wave. With years of experience in WordPress, technical SEO, and web performance, he writes about what actually works in the real world.