A 301 redirect (“Moved Permanently”) signals to search engines that a page has moved permanently to a new address, transferring most of the ranking authority (link equity) to the new URL and updating the index to reflect the new address as the canonical source.
A 302 redirect (“Found” / Temporary Redirect) signals a temporary move, usually keeping the old URL in the index as the canonical version, and is recommended only for genuinely temporary situations (maintenance, A/B tests), not for permanent content moves.
Why it matters
Incorrectly using a 302 for a permanent move can prevent authority from properly consolidating onto the new URL, negatively affecting the long-term ranking of the moved content.