Technical SEO
301 vs 302 Redirects, Redirect Chains and Loops: How Redirects Affect SEO
Redirects tell Google where content now lives. Using the right type, and keeping them short, avoids most problems.
Google groups redirects into permanent and temporary. Permanent redirects (301, 308) are a strong signal that the target URL should be canonical. Temporary redirects (302, 303, 307) signal that the original URL should stay canonical.
Google prefers server-side redirects, and treats JavaScript redirects as a last resort because it may not see them if rendering fails.
Short answer: Use a permanent redirect (301 or 308) when content has moved for good; Google treats the target as the canonical URL. Use a temporary redirect (302 or 307) only when the move is genuinely temporary, because Google keeps the original URL canonical. Point redirects straight to the final URL to avoid chains, fix loops where URLs redirect back to each other, and update internal links to the final URL.
Key Takeaways
- 301/308 = permanent: the target becomes canonical.
- 302/307 = temporary: the original stays canonical.
- Server-side redirects are preferred; JavaScript redirects are a last resort.
- Redirect straight to the final URL; avoid chains.
- Update internal links so they don’t rely on redirects.
Redirect types
| Type | Codes | Google treats as | Use when |
|---|---|---|---|
| Permanent | 301, 308 | Strong signal the target is canonical | Pages moved, merged or renamed for good |
| Temporary | 302, 303, 307 | Original stays canonical | Short-term moves, such as maintenance or A/B tests |
| Meta refresh (instant) | 0 seconds | Permanent | Only when server redirects aren’t possible |
| Meta refresh (delayed) | Delay > 0 | Temporary | Rarely appropriate |
| JavaScript | location changes | Permanent if Google renders it | Last resort |
Chains and loops
- A chain is A → B → C. Each hop slows users and crawlers; point A straight to C.
- Google’s site move guidance suggests avoiding long chains; keep them as short as possible, ideally a single hop.
- A loop is A → B → A. The page never loads; fix the rule that sends traffic back.
- Search Console reports redirect problems under “Redirect error” in Page indexing (indexing reasons).
How to find chains
- Crawl your site with a crawler that reports redirect hops.
- Export internal links that point to redirected URLs.
- Update those links to the final URL.
- Update redirect rules so old URLs go straight to the final destination.
During migrations
Use permanent, server-side redirects to the closest equivalent page, and keep them for at least a year. See how to build a redirect map.
Frequently asked questions
Do 301 redirects lose ranking signals?
Google’s site move guidance says not to worry about link credit when using permanent redirects for a move.
Is a 302 bad for SEO?
Not if the move is temporary. Using a 302 for a permanent move can keep the old URL as canonical longer.
What does “Page with redirect” mean in Search Console?
The URL redirects elsewhere, so it isn’t indexed itself. That’s expected for redirected URLs.
Want a second pair of eyes on your technical SEO?
We review crawling, indexing, rendering and speed issues by hand and give you a prioritized list of fixes, starting with a free manual audit.
Sources
- Google Search Central: Redirects and Google Search
- Google Search Central: Site moves with URL changes
Last reviewed October 14, 2026.
