301 vs. 302 Redirects
Covered here
- The difference between permanent and temporary redirects
- How Google treats 301, 302, 307, and 308
- When each redirect type is the right choice
- How to audit redirect types in a crawl
Short answer
A 301 redirect says a page moved permanently, so Google transfers signals and indexes the new URL. A 302 says the move is temporary, so Google may keep showing the old URL. Use 301 or 308 for permanent changes like migrations, and 302 or 307 only for short-term moves like sales or maintenance.
An Iloilo furniture shop moved to a new domain. The developer used 302 redirects because the plugin chose them by default. Months later, Google still showed the old domain in many results, and the new pages struggled to take over. One number made the difference.
Permanent vs. temporary
| Code | Type | Google’s indexing behavior |
|---|---|---|
| 301 | Permanent | Indexes the new URL |
| 308 | Permanent | Same as 301 |
| 302 | Temporary | May keep the old URL indexed |
| 307 | Temporary | Same as 302 |
All server redirects pass signals. The type mainly tells Google which URL to show in results.
When to use each
- 301 or 308: domain migrations, HTTPS moves, URL restructures, merged pages, retired products with a replacement.
- 302 or 307: a sale page that returns next week, a product temporarily out of stock, maintenance, A/B tests.
If you are not planning to undo it, it is permanent.
How to audit redirect types
- Filter your crawl’s 3xx URLs and add the status code column.
- Flag every 302 and 307 and ask: is this truly temporary? How long has it existed?
- Check for meta refresh and JavaScript redirects (your crawler lists meta refresh separately). Replace them with server redirects where possible.
- Check old redirects in your redirect map for the same issues.
Practice: which type fits?
Sort each item into the right group.
-
Moving from example.com to example.ph
Answer: 301 or 308 (permanent).
-
Product out of stock for 5 days
Answer: 302 or 307 (temporary).
-
Merging two similar blog posts into one
Answer: 301 or 308 (permanent).
-
Holiday sale page redirect for one weekend
Answer: 302 or 307 (temporary).
-
HTTP to HTTPS
Answer: 301 or 308 (permanent).
Common mistakes
- Plugin default 302s on permanent moves. Check every migration.
- Temporary redirects that last years. Convert them to 301.
- Meta refresh redirects. Slower and less clear than server redirects.
Your action
Next, you will audit your 404 page and find soft 404s.
Key terms
- 301 Moved Permanently
- A permanent redirect. Google treats the target as the new canonical URL.
- 302 Found
- A temporary redirect. Google may keep the original URL indexed for a while.
- 307 and 308
- Newer temporary (307) and permanent (308) redirects that keep the request method, such as POST. Google treats 308 like 301 and 307 like 302.
- Meta refresh and JavaScript redirect
- Redirects done inside the page instead of by the server. Google may follow them, but server redirects are clearer and faster.
Questions beginners ask
Do 302 redirects pass link value?
Google says all redirect types pass signals. The difference is which URL it chooses to index. A long-standing 302 is usually treated like a 301 eventually, but that is slower and less predictable.
When is a 302 correct?
For genuinely temporary situations: an out-of-stock product redirecting to its category for a week, a geo or language test, or a short campaign.
Why do so many sites use 302 by mistake?
Many CMS plugins and server frameworks default to 302. Developers often do not change the default.
Are HSTS 307 redirects real?
Browsers show an internal 307 for HTTPS upgrades when HSTS is active. Crawlers check the server's actual response, which should be a 301 or 308.
Related lessons
Want someone to handle SEO for your business while you learn? The team at Remar Digital can help.