HTTP Redirect Types — Demo

Each link below demonstrates a different redirect mechanism. Watch the network tab in your browser's developer tools (or curl -v) to see the status code, Location header, and whether the browser remembers the redirect.

TypeLinkWhat to observe
301 Moved Permanently/301Permanent; browsers and search engines cache it. Hard to undo.
302 Found/302Temporary; method historically changed to GET by browsers.
307 Temporary Redirect/307Temporary; preserves the original HTTP method and body.
308 Permanent Redirect/308Permanent; preserves method (strict 301 equivalent).
Meta refresh/meta-refreshClient-side, done in HTML — no HTTP status code involved.
JavaScript redirect/js-redirectClient-side via window.location; requires JS enabled.

All of them land on /target.