Skip to content
Technical SEO

301 Redirects: How to Change URLs Without Losing Rankings

Moving a URL the wrong way can wipe out years of authority overnight. When to use 301 vs 302, how to avoid redirect chains, and how to audit what you already have.

The SEOArtifact Team 10 min read

Every site eventually needs to change a URL — a page gets reorganised, a domain moves, a product is discontinued. Done right, a URL change is invisible to your rankings. Done wrong, it can silently wipe out years of accumulated link authority overnight and leave users hitting dead ends for months. Redirects are the mechanism that makes URL changes safe. This guide covers when to use which type, how to avoid the mistakes that cost rankings, and how to audit what you already have.

Why URLs carry value — and why moving them carefully matters

When other sites link to a URL, that link carries authority to that specific address. When someone bookmarks a page, follows a link in an email, or clicks a result in Google, they go to that exact URL. If the page moves without a redirect, every one of those paths leads to a dead end. The link authority is lost. The user gets a 404 error. And if the old URL was indexed, Google may keep serving it in results until it recrawls and discovers the problem.

A properly set up 301 redirect tells browsers and search engines: "this page has permanently moved to a new address." The browser follows the redirect automatically; the user sees the new page. Search engines pass the link authority to the new URL and update their index over time. Done correctly, the transition is nearly seamless.

301 vs 302: choosing the right type

HTTP defines several redirect status codes. The two you will use almost every time are:

  • 301 — Permanent redirect. Use this whenever a URL has moved for good: restructuring a site, retiring a page and merging it into another, moving from HTTP to HTTPS, or changing your domain. A 301 tells search engines to transfer link authority and update their index to point to the new URL. This is the default choice for almost all SEO-relevant URL changes.
  • 302 — Temporary redirect. Use this only when the original URL will return: a page temporarily taken down for maintenance, a seasonal promotion that will be live again next year, or a short-term A/B test. A 302 tells search engines to keep the original URL in the index and not transfer authority, because the move is temporary. Using a 302 when you mean a 301 is a common mistake — the old URL stays indexed, authority does not consolidate, and you end up with two URLs competing for the same rankings.

There are other codes (307, 308) that are HTTP/1.1 equivalents of 302 and 301 respectively, but for practical SEO purposes 301 and 302 cover almost every situation you will encounter.

Redirect chains: the silent authority killer

A redirect chain is a sequence of redirects: URL A → URL B → URL C. Each hop adds latency for the user and, more importantly for SEO, each hop loses a small amount of link authority that the chain would otherwise pass cleanly. Chains also slow down Googlebot, which can contribute to crawl budget problems on large sites.

Chains typically accumulate silently over time: a page moves from A to B, then later B moves to C, and no one updates the original redirect. After a few site redesigns, you can end up with chains four or five hops long. The fix is straightforward: audit your redirects and collapse each chain so A points directly to the final destination C, with no intermediate stops.

Use the Link Analyzer to audit the links on your pages and identify URLs that redirect, then trace whether each redirect goes straight to the final destination or chains. Internal links that point to redirecting URLs should be updated to point directly to the final URL — this removes the unnecessary hop and ensures your internal link equity flows cleanly.

The most common redirect mistakes

  • Redirecting to the homepage. When a page is retired, some sites redirect it to the homepage instead of a genuinely related page. Google treats this as a "soft 404" — the redirect destination is too different from the original page to make semantic sense, so the authority is effectively lost anyway. Always redirect to the most relevant live page; if nothing is relevant, it is better to return a real 404 than a misleading homepage redirect.
  • Using 302 when you mean 301. As above — this keeps the old URL in the index and prevents authority consolidation. If the move is permanent, use a 301.
  • Leaving old URLs in your sitemap. After a redirect, the old URL should be removed from your XML sitemap. The sitemap should list only the canonical, final URLs you want indexed. Update it with the Sitemap Generator after any structural changes.
  • Not updating internal links. A redirect handles external links you cannot control. But internal links you can control — update them to point directly to the new URL, removing the redirect hop entirely for internal navigation.
  • Redirect loops. A redirects to B, B redirects back to A. The browser and crawler give up. These are usually caused by configuration errors and show up quickly in crawl coverage reports and Google Search Console.

Domain moves: a special case

Moving your entire site to a new domain — whether rebranding or switching from HTTP to HTTPS — is a large-scale redirect operation. Every page on the old domain needs a 301 to its counterpart on the new domain. The right approach is a page-for-page redirect map: old URL A → new URL A, old URL B → new URL B, and so on. A blanket redirect of everything to the new homepage loses all page-level authority and relevance signals.

After a domain move, use Google Search Console's Change of Address tool to notify Google formally. Keep the old domain and its redirects in place for at least a year — incoming links take time to be recrawled and the authority transferred, and removing the redirects too early can undo the consolidation.

After any domain move, run a Google Index Checker on key pages of the new domain to confirm they are being indexed, and check the Google Search Console coverage report to verify the old URLs are gradually dropping out of the index as the new ones are confirmed.

Auditing your existing redirects

Before you change anything new, it is worth understanding what you already have. Run a full site SEO check to surface redirect issues and check your link map for pages with high incoming redirect hops. Then:

  1. List every redirect on your site and its final destination.
  2. Identify chains (more than one hop) and update the first redirect to point directly to the final destination.
  3. Identify redirects pointing to the homepage that should point to a relevant page, or be a 404.
  4. Confirm all 302s are genuinely temporary; convert permanent ones to 301.
  5. Update internal links so they point to the final destination directly.
  6. Remove old redirected URLs from your sitemap.

Redirect hygiene is not glamorous, but it is one of the highest-leverage technical fixes available — especially on sites that have been through multiple redesigns. Clean redirects mean clean authority flow, faster crawling, and no silent drains on the rankings you have already earned.

Try the free tools from this guide

Keep reading