302 redirect, explained
Use it when the original URL will come back: a short sale page, a product that is out of stock for a while or a test during maintenance.
With a 301, search engines treat the new URL as the replacement. A 302 is a weaker signal, and the original URL often stays in results. Google may treat a long-running 302 more like a permanent move.
Accidental 302s are common. Some tools and plugins use them by default, so during a migration, check that permanent moves really return 301 with a crawler.
There is also a 307, which is a temporary redirect that keeps the request method. Some hosts use 307 for their temporary redirects, and it is treated much the same way for SEO.



