301 vs. 302 vs. 307 Redirects

Choose permanent or temporary redirects and avoid unnecessary chains.

Status: Active · Role: Dev

Redirects send a browser and crawler from one URL to another. Choose the HTTP status to match the move, not a promise of a ranking boost.

Which one should I use?

  • 301: permanent move, such as a retired URL with a direct replacement. Google treats permanent redirects as a strong canonicalization signal for the destination.
  • 302: temporary move, such as a short-lived maintenance page. Google generally retains the source URL as canonical while the redirect is temporary.
  • 307: temporary redirect that preserves the original HTTP request method. Use it when temporary method preservation matters, for example during an application workflow.

Google can pass ranking signals through redirects; temporary and permanent redirects differ primarily in canonicalization, not a simple “302 passes no link equity” rule. Results depend on the move and destination. Avoid long chains and loops: they add latency and crawl requests. Link directly to the final URL.

Example

A server response for a permanent move might look like:

HTTP/1.1 301 Moved Permanently
Location: https://example.com/new-page

Frequently asked questions

Should a temporary redirect stay forever?

No. Remove it when the temporary situation ends, or switch to a permanent redirect when the move is genuinely permanent. See Google's redirects guide.

Related glossary terms

Back to the full glossary · AI SEO services · Solution Sprints