301 vs 302 redirects, and when to use 307 and 308
A 301 says a page moved for good; a 302 says it's away for now. Which to use, what Google does with each, why redirect chains cost you, and how to trace where a URL ends up.
MakerRadar team · November 26, 2026 · 3 min read
Use a 301 when a page has moved for good, and a 302 when it's away for a while and will come back. Google treats a permanent redirect as a strong signal that the new address should replace the old one in its results, and a temporary one as a weak signal, so the old address usually stays. A 308 is a permanent redirect and a 307 a temporary one that also keep the request method the same.
What do the four codes mean?
| Code | Meaning | Use it for | | --- | --- | --- | | 301 Moved Permanently | The page has a new home | A new domain, http to https, a renamed page | | 308 Permanent Redirect | Same as 301, and a form submission stays a form submission | Moving an API or form endpoint for good | | 302 Found | The page is somewhere else for now | A short campaign, a page under maintenance | | 307 Temporary Redirect | Same as 302, keeping the request method | Temporary moves of form or API endpoints |
The difference between 301 and 308 (or 302 and 307) only matters for requests that send data, like a form posted with POST. For ordinary pages, 301 and 302 are what you'll use.
What does Google do with each?
Google's documentation describes it this way: with a permanent redirect, Google follows it and uses it as a strong signal that the target should be the canonical (indexed) address; with a temporary one, it's a weak signal, so the original address tends to stay in results (Google Search Central: Redirects).
That's why using a 302 for a permanent move is a common mistake: months later, Google may still show the old address. If a move is for good, say so with a 301.
Google has said that 3xx redirects don't lose PageRank, so a 301 passes the old page's signals on to the new one.
Why are redirect chains a problem?
A chain is a redirect that leads to another redirect: http://acme.com → https://acme.com → https://www.acme.com → https://www.acme.com/home. Each hop is another round trip before the page loads, and crawlers give up on long ones (Google's crawler follows a limited number of hops, about ten, before it stops).
Chains build up over years of site moves. Fix them by pointing every old address, and every internal link, straight at the final URL. One hop (http to https, or adding www.) is fine; three is worth tidying.
Loops are worse: A redirects to B, which redirects back to A, and the page never loads. They usually come from two rules that undo each other, for example a CDN that adds www. and a server that removes it.
Which redirect should you use when…
- …you move to a new domain? 301 from every old URL to its matching new URL, not all of them to the new homepage.
- …you switch to https? 301 from
http://tohttps://, and turn on HSTS once it works. - …you pick www or non-www? 301 from one to the other, and use the same choice in your canonical tags and sitemap.
- …you rename a page? 301 from the old address to the new one, and update the links that pointed at it.
- …you run a short promotion? 302, then remove it when the promotion ends.
- …you delete a page with no replacement? No redirect: let it answer 404 or 410. Redirecting everything to the homepage looks like a soft 404 to Google.
How do you see where a URL really goes?
Paste it into our redirect checker. It follows the chain hop by hop and shows each status code and address. It flags chains, loops, temporary redirects that should be permanent, moves from https back to http, and a redirect that ends on another site.
While you're there, check your key pages for links that already point at redirects or dead pages with the broken link checker.
Launching soon? MakerRadar's listing pages link straight to your site's final address, with no hops. List your product free.
Launching something? List it on MakerRadar for free.
Launch on MakerRadar