Topic
Redirects
Choose and debug HTTP redirects by comparing status-code semantics, method preservation, caching, and location handling.
- HTTP Status Codes
300 Multiple Choices
The request has multiple possible responses. Learn when to use 300 Multiple Choices for content negotiation and alternative resource locations.
- Comparisons
301 vs 302 Redirects
Understand the difference between 301 Moved Permanently and 302 Found redirects. Learn when to use each, how browsers cache them, and their SEO implications.
- Comparisons
301 vs 308: Permanent Redirects and POST Requests
301 vs 308: both signal a permanent move, but only 308 preserves POST. Compare browser handling, Google indexing, cache controls, and curl traces.
- Comparisons
302 vs 307 Redirects
Compare 302 Found and 307 Temporary Redirect, including method preservation, request bodies, browser behavior, caching, and safe API redirect choices.
- HTTP Status Codes
303 See Other
Redirect to a different resource using GET. Learn when to use 303 to prevent form resubmission and implement the Post-Redirect-Get pattern.
- HTTP Status Codes
304 Not Modified
Cached response is still valid. Learn how 304 Not Modified improves performance through conditional requests and caching.
- HTTP Status Codes
307 Temporary Redirect
Temporary redirect that preserves the HTTP method. Learn when to use 307 instead of 302 for method-sensitive redirects.
- HTTP Status Codes
308 Permanent Redirect
Permanent redirect that preserves the HTTP method. Learn when to use 308 instead of 301 for method-sensitive permanent redirects.
- Debug Guides
ERR_TOO_MANY_REDIRECTS: Find and Break the Redirect Loop
Fix ERR_TOO_MANY_REDIRECTS (redirected you too many times): Cloudflare Flexible SSL, WordPress URLs, nginx HTTPS loops and cookie loops, diagnosed with curl.
- HTTP Status Codes
HTTP 301 Moved Permanently: Permanent Redirect
Learn what 301 redirect means, when to use it vs 302, and how to implement permanent redirects for SEO and URL changes.
- HTTP Status Codes
HTTP 302 Found: Temporary Redirect
Learn what 302 redirect means, when to use temporary vs permanent redirects, and how 302 differs from 301, 307, and 308.
- HTTP Headers
Location
Learn how the Location header specifies redirect URLs or the location of newly created resources. Essential for 201, 301, 302, and other redirect responses.
- HTTP Headers
Refresh Header
Learn how the Refresh header instructs browsers to reload or redirect after a delay. Understand its use cases, limitations, and better alternatives.
More topics
- 63 pages
Security
Study HTTP security controls for transport, cookies, browser isolation, authentication, content policy, and response hardening.
- 24 pages
Performance
Improve HTTP delivery with caching, compression, connection reuse, timing signals, and response metadata.
- 22 pages
Caching
Learn how browsers and intermediaries store, validate, and reuse HTTP responses with cache directives, validators, and conditional requests.
- 22 pages
Cookies
Understand cookie storage, scope, transport, expiration, and security across HTTP headers, attributes, and session flows.