Google said in July 2016 that 301, 302 and every other 30x redirect pass PageRank without loss, yet many guides still claim otherwise. You'll find the old warning repeated on big-brand blogs right now. A temporary redirect, they say, simply throws your link value away.
It doesn't. The codes do behave differently, just not where most people look. Google files the old and new URLs together, then picks one to show, and the redirect type is a vote in that choice.
A 301 or 308 is a strong vote for the new address. A 302, 303 or 307 is a weak one, so the original URL usually keeps its slot in results and the signals stay pooled there. A redirect is the only member of the wider family of HTTP status codes built to move people and link signals along together.
With a 302, Google starts by showing the source page because it assumes the move is temporary. Leave the redirect up for months, and the assumption fades. Eventually the target shows up the way it would have under a 301 from day one.
So a forgotten 302 on a migration delays the switch rather than wrecking it. Annoying, though. If the move is permanent, say so with a 301 or 308 and skip the wait.
A split test or a seasonal landing page is the honest use for a temporary code. Gary Illyes of Google said recently that the crawlers don't care at all which of the two you pick. The page gets indexed regardless. What changes is the URL people actually see.
How long you keep redirects matters more than most teams admit. Google's site move guidance says to keep them as long as possible, generally at least a year. From a user's point of view, it says to consider keeping them indefinitely.
It also asks you to avoid chains. Googlebot will follow up to 10 hops. Still, the advice is to point old URLs straight at the final page and keep any unavoidable chain to about three hops. Every extra hop is one more place for a migration to break.
A 307 or 308 forbids the switch. Illyes used a checkout failover as his example, where a 307 keeps the order data intact and a 302 might lose it.
For ordinary pages, Google treats 308 like 301 and 307 like 302. Permanent versus temporary is the only decision that counts there.
One 307 trips people up constantly. On a site using HSTS, Chrome's developer tools show a 307 when you request the HTTP version. Your server never sent it. Request the same URL from a command line and the real status appears.
The browser upgrades the request to HTTPS by itself and labels the step an internal redirect. It never contacts the server, which is why the response weighs zero bytes. Googlebot sees whatever redirect your server actually returns, so rewriting your config to "fix" a browser-made 307 is wasted work.
The sample came from pages clustered around the top results for hundreds of search queries. JavaScript redirect code showed up on around 2,400 more pages, though only some of it ever sent anyone anywhere.
More than half of those refreshes fired after zero seconds. Nobody ever saw the starting page, a pattern consistent with spam.
Google still honors both methods, with conditions. An instant meta refresh is read as permanent and a delayed one as temporary.
JavaScript redirects only work after rendering, and Google warns that rendering can fail. When it does, the redirect is simply never seen.
Illyes also flagged the cost to visitors, since both methods make the browser download, parse and run code before it moves on. A server-side 301 skips all of it, and Google reads it without rendering a thing.
It doesn't. The codes do behave differently, just not where most people look. Google files the old and new URLs together, then picks one to show, and the redirect type is a vote in that choice.
A 301 or 308 is a strong vote for the new address. A 302, 303 or 307 is a weak one, so the original URL usually keeps its slot in results and the signals stay pooled there. A redirect is the only member of the wider family of HTTP status codes built to move people and link signals along together.
Google picks the URL to show, and links count either way
Google's John Mueller has described the process plainly. Redirected URLs land in the same bucket, and canonicalization decides which one appears in results.With a 302, Google starts by showing the source page because it assumes the move is temporary. Leave the redirect up for months, and the assumption fades. Eventually the target shows up the way it would have under a 301 from day one.
So a forgotten 302 on a migration delays the switch rather than wrecking it. Annoying, though. If the move is permanent, say so with a 301 or 308 and skip the wait.
A split test or a seasonal landing page is the honest use for a temporary code. Gary Illyes of Google said recently that the crawlers don't care at all which of the two you pick. The page gets indexed regardless. What changes is the URL people actually see.
How long you keep redirects matters more than most teams admit. Google's site move guidance says to keep them as long as possible, generally at least a year. From a user's point of view, it says to consider keeping them indefinitely.
It also asks you to avoid chains. Googlebot will follow up to 10 hops. Still, the advice is to point old URLs straight at the final page and keep any unavoidable chain to about three hops. Every extra hop is one more place for a migration to break.
307 and 308 exist to protect form data
The newer pair doesn't replace the older one. It fixes one specific flaw. A 301 or 302 lets a browser switch a POST request to a GET on the way. Whatever a visitor just typed into a form can vanish in transit.A 307 or 308 forbids the switch. Illyes used a checkout failover as his example, where a 307 keeps the order data intact and a 302 might lose it.
For ordinary pages, Google treats 308 like 301 and 307 like 302. Permanent versus temporary is the only decision that counts there.
One 307 trips people up constantly. On a site using HSTS, Chrome's developer tools show a 307 when you request the HTTP version. Your server never sent it. Request the same URL from a command line and the real status appears.
The browser upgrades the request to HTTPS by itself and labels the step an internal redirect. It never contacts the server, which is why the response weighs zero bytes. Googlebot sees whatever redirect your server actually returns, so rewriting your config to "fix" a browser-made 307 is wasted work.
Meta refresh redirects once outnumbered server codes
Server-side codes are what Google recommends today, and they used to be the exception. Two decades ago, meta refresh redirects in a crawl of 250,000 pages outnumbered HTTP 302s by roughly 75 to one. Permanent 301s were rarer still, at about one for every 200 refreshes.The sample came from pages clustered around the top results for hundreds of search queries. JavaScript redirect code showed up on around 2,400 more pages, though only some of it ever sent anyone anywhere.
More than half of those refreshes fired after zero seconds. Nobody ever saw the starting page, a pattern consistent with spam.
Google still honors both methods, with conditions. An instant meta refresh is read as permanent and a delayed one as temporary.
JavaScript redirects only work after rendering, and Google warns that rendering can fail. When it does, the redirect is simply never seen.
Illyes also flagged the cost to visitors, since both methods make the browser download, parse and run code before it moves on. A server-side 301 skips all of it, and Google reads it without rendering a thing.