# When should you use a 301 versus a 302?

> Use a permanent redirect when a URL has permanently moved.

Use a temporary redirect when the move is temporary.

The important principle is to represent the actual intent of the change accurately rather than choosing a status code merely for perceived SEO benefit.

For large migrations, redirect old URLs directly to their final equivalents and avoid unnecessary chains.

## Sources

- [Google Search Central — Site Move With URL Changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes)

## Related questions

- [How do redirect chains affect SEO and crawling?](https://www.theseocentral.com/technical-seo-faq/how-do-redirect-chains-affect-seo-and-crawling.md)
- [How do you handle conflicting canonical signals?](https://www.theseocentral.com/technical-seo-faq/how-do-you-handle-conflicting-canonical-signals.md)
- [How do you troubleshoot incorrect canonicalization at scale?](https://www.theseocentral.com/technical-seo-faq/how-do-you-troubleshoot-incorrect-canonicalization-at-scale.md)
- [How would you handle thousands of URLs returning 200 but displaying "not found"?](https://www.theseocentral.com/technical-seo-faq/how-would-you-handle-thousands-of-urls-returning-200-but-displaying-not-found.md)
- [How would you identify redirect loops?](https://www.theseocentral.com/technical-seo-faq/how-would-you-identify-redirect-loops.md)
- [What happens when canonical tags point to 404 pages?](https://www.theseocentral.com/technical-seo-faq/what-happens-when-canonical-tags-point-to-404-pages.md)
- [What happens when canonical tags point to redirected URLs?](https://www.theseocentral.com/technical-seo-faq/what-happens-when-canonical-tags-point-to-redirected-urls.md)
- [What is the SEO impact of soft 404s?](https://www.theseocentral.com/technical-seo-faq/what-is-the-seo-impact-of-soft-404s.md)
- [What would you check after a large-scale URL migration?](https://www.theseocentral.com/technical-seo-faq/what-would-you-check-after-a-large-scale-url-migration.md)

---

Answered by Abhinav Krishna (https://www.theseocentral.com/author/abhinav-krishna)
Source: https://www.theseocentral.com/technical-seo-faq/when-should-you-use-a-301-versus-a-302
