New accounts get $100 free credit, no card needed

301 redirects and backlinks: a recipe for a clean move

Before you move a site, find out which old URLs other sites actually link to. Everything else can be tidied later, but those cannot.

Paper cut-out map with paths and a magnifying glass on a wooden table

Step one: list the URLs that carry links

This costs 2 credits for one call, up to 1,000 rows.

bash
curl "https://rankbrainmarketing.link/api.php?action=toppages&q=old-domain.com&per=1000&sort=ref_domains&order=desc&key=sk_live_..."

Ingredients and method

  1. 1

    Export

    Save the response as a spreadsheet. The top 100 URLs usually hold most of the link value.

  2. 2

    Map

    Give each URL one destination on the new site, the closest match in meaning. Blanket redirects to the home page waste the signal.

  3. 3

    Redirect

    Use a 301 for permanent moves. Serve it in one hop, because chains slow crawling and sometimes get dropped.

  4. 4

    Test

    Request every mapped URL and confirm a 301 followed by a 200. Anything else goes back on the list.

  5. 5

    Re-pull after the refresh

    Our index updates monthly, so check refdomains on the new domain in four to six weeks.

Common ways this goes wrong

Chains are the first. Old URL to a temporary page to the final page doubles the hops and invites mistakes.

The second is mixed signals. A 301 that points to a page carrying noindex, or one blocked in robots.txt, throws the value away. Fetch each destination and read the headers, not just the status line.

Third come case and slash variants. A link to /Page/ and /page can be two URLs on some servers, and both may have inbound links. Add both to your map.

Fourth is subdomain splits. Decide on www or non-www before the move, then redirect the other host in one rule, and keep the sitemap on the host you chose. Use a crawler such as Screaming Frog on the old site before it goes away, because the pages you forgot are the ones that bite later.

A fifth problem is easy to miss. An old sitemap still lists retired addresses, and it keeps sending crawlers through redirects long after the map says otherwise. Swap it on the day.

Redirects that point at a moving target

A destination that changes its own address after the move creates a second hop nobody planned. Check the final address of each destination before you write the rule, not after.

Stable targets make a redirect map easy to audit a year later.

The old errors that linger in reports

Old crawl errors keep appearing in reports long after a move. A stale line is not always a live failure. Compare the date of each error with the date of the switch before you act on it.

Two dirt roads merging into one with a compass and hands in distance

Questions people ask at this stage

Do 301s lose link value? Google has said since 2016 that 301s do not lose PageRank. Hold that lightly, because a redirect to an unrelated page may simply be treated as a soft 404.

What about the www subdomain? Pick one host, redirect the other to it, and update the sitemap. It sounds obvious, yet split hosts are among the most common indexing messes.

Spam links to an old domain also follow the redirect. Check the spam runbook before keeping a redirect for years.

When you run the final check, count the 301 redirects backlinks depend on, not the total number of redirects. A thousand tidy redirects for pages with no links matter far less than ten for the pages everyone cites.

A related question is whether to keep the old domain registered. Holding it for years is cheap insurance, since every lapsed name is one more place where a stray link can end in an error.

Does a chain hurt more than a single redirect? One hop is the safe default. Two hops often work, but each extra hop is another place for something to break, so keep chains short by design.

Worked mapping, invented for illustration

Example URLs only; not a real site.
Old URLReferring domains (made up)New destinationNote
/blog/trail-shoes-201942/guides/trail-shoesClosest match in meaning
/blog/tent-sizes18/guides/tentsSection page, acceptable
/tag/misc1(none)Let it return 410
/about-us9/aboutSimple rename

Mapping a URL when no new page fits

The table shows the easy rows. The harder ones need a rule you can explain to someone who did not make the decision.

Same topic, same intent

Most old URLs have a clear successor, a page that answers the same question. Map to it, then check that a reader who came for the old topic lands on something that still answers it.

Closest match in meaning is the rule you can defend in a report.

Check the successor page too. If it has been thinned out, or it now covers something narrower, the redirect carries an old link into a weaker page. A quick read of both pages side by side catches that before the switch rather than after.

Count how many old pages you are retiring rather than redirecting. A high share usually means the new site is smaller, and that is worth saying out loud in the plan.

When no page fits

Sometimes the old article covered a product you dropped or a question nobody asks now. A redirect to an unrelated page reads to Google as a soft 404. In that case a category page with real content is usually safer than the home page.

Write down the reason for each unmatched URL in one short line. A reviewer can then tell a deliberate removal from a mapping that simply ran out of time.

Gone for good: 404 or 410

A URL with no link value and no successor can return a 410 instead of a redirect. That tells Google the removal is deliberate. Keep that list short, and check it against your top pages report before you return an error.

A 410 is not a punishment for the reader. The page is gone, and a clear status code tells the browser and the crawler to stop asking for it. The difference between a 404 and a 410 matters less than the decision behind the choice.

Write the reason next to each 410 in your map, so nobody restores the page by mistake later.

How long until you can judge it

Give it six weeks at least. Google recrawls old URLs at its own pace, and large sites take longer.

Our link index refreshes about monthly, so the first new-domain snapshot may still show a gap. Do not roll back on the first look.

Judge the move on the URLs that carried links, not on sitewide averages. Averages hide a few lost links behind the many pages nobody cited.

Keep your checks on a fixed schedule. Irregular looks tend to catch a dip and miss the recovery, which makes a healthy move look like a failure.

Two potted paper plants with gardening shears on the grass

Checks to run on the day of the switch

Run these checks before you announce the move. A failure found on the day costs far less than one found in the traffic chart a month later.

Log each result with the time of the check. A list taken in the morning and another taken at night can disagree for reasons that have nothing to do with the redirects.

Status codes in one pass

Request every old URL once and record the status and the first hop. A mapped URL should show a 301 and then a 200, with no chain in between.

Anything that returns a 302 or a 404 is a mistake until you prove otherwise.

Keep the results in the same sheet as your map. A column that counts the hops for each URL shows the chains you did not expect.

  • Old URL
  • Status of the first response
  • Address after the last hop
  • Number of hops

Headers and indexing signals

Check that the destination carries no noindex header or meta robots tag, and that robots.txt does not block it. A correct 301 that points at a hidden page throws the value away.

Read the response headers as well as the status line. The status line alone hides the problem.

Test a sample on mobile as well as desktop. Some redirect rules are written per device or per user agent, so a rule that works in your browser can behave differently for a crawler. Test the path the crawler actually takes.

Tools worth having open

Screaming Frog crawls the old site to catch URLs the link index never saw. Search Console lists the pages Google already shows. Our toppages call covers the third view, the pages that other sites link to.

Our recommendation

Map the top hundred by hand

Automation is fine for the long tail. The URLs that attract links deserve a human decision, because each one is a vote you do not get to cast twice.

  • Prefer closest-match pages over the home page.
  • Keep redirects live for at least a year.
  • Recheck unindexed pages after the move.

Questions about 301s and links

Do I need a redirect for a URL nobody links to?

Not for link value. You may still want one to keep visitors and bookmarks working. If the old page drew search traffic, a redirect to the closest match is usually the tidy answer.

Can I merge two old sites into one domain?

Yes, if each old URL gets its own destination and the host decision is made before the move. The hard part is the mapping, not the rule. Plan the list first, then write the redirects. Check the list against a crawl of each old site before the switch, because the pages nobody linked to are the ones a plain export tends to miss.

How many redirects are too many?

No fixed number matters. What matters is whether the URLs that carry links all resolve in one hop. A long tail of tidy redirects for pages without links counts for far less.

What do I do with a redirect that does not work?

Fix the destination first, then the rule. Most failures are a chain, a noindex destination or a typo in the map, and each one shows up in a single header check. Keep a dated note of each fix, so you can tell later which change resolved which problem.