301 redirect

A 301 redirect is a permanent server-side redirect that sends users and search engines from an old URL to a new one. It passes the old page's ranking signals to the new URL and is the standard choice when a page moves for good.

A 301 redirect is an HTTP status code that says "this page has moved permanently". When a browser or crawler requests the old URL, the server answers with status 301 and a Location header pointing to the new address, and the client follows it automatically.

When to use a 301:

  • You change a URL slug or restructure folders.
  • You move from http to https, or from a non-www to a www hostname (or the reverse).
  • You migrate to a new domain.
  • You merge two pages on the same topic into one stronger page.
  • You remove a product or article and there is a close replacement.

301 versus other redirects. A 302 or 307 signals a temporary move: Google keeps the old URL in the index for a while, assuming it will come back. A 308 is the permanent equivalent of 307 and is treated like a 301. Google has said that permanent server-side redirects pass ranking signals, so there is no PageRank "loss" from using one correctly. Meta refresh and JavaScript redirects can work, but are slower and less reliable, especially for crawlers that do not render JavaScript.

Best practices:

  1. Redirect to the most relevant equivalent page, not to the homepage. Mass redirects to the homepage are often treated as soft 404s.
  2. Map redirects one to one during migrations and test them before launch.
  3. Update internal links, canonicals and sitemaps to the new URL, so the redirect is only a safety net.
  4. Avoid redirect chains and loops. Point old URLs directly at the final destination.
  5. Keep redirects in place for a long time. Google advises at least a year; in practice, keeping them permanently is safest because old backlinks keep sending visitors.

Why it matters for link building. Backlinks point to specific URLs. If you change a URL without a redirect, those links land on a 404 and their value is lost. This is one of the most common and most avoidable ways sites lose rankings after a redesign. The same applies to sponsored articles: if a publisher changes the URL of a placed article, a 301 keeps the link working and its value intact.

How to check. Use your browser's developer tools (Network tab) or the URL Inspection tool in Google Search Console to see the status code an old URL returns. After a migration, watch the Page indexing report for "Page with redirect" and "Not found (404)" entries to catch missing mappings.

Questions about 301 redirect

Does a 301 redirect lose link value?

No. Google has confirmed that permanent server-side redirects pass ranking signals. Value is lost only when you redirect to an irrelevant page or chain many redirects.

How long should I keep a 301 redirect?

At least a year, according to Google. Keeping it permanently is safer, because old links and bookmarks will keep using the old URL.

What is the difference between a 301 and a 302 redirect?

A 301 is permanent and tells search engines to index the new URL. A 302 is temporary, so the old URL usually stays in the index.

Related terms