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.
| Type | Link | What to observe |
|---|---|---|
| 301 Moved Permanently | /301 | Permanent; browsers and search engines cache it. Hard to undo. |
| 302 Found | /302 | Temporary; method historically changed to GET by browsers. |
| 307 Temporary Redirect | /307 | Temporary; preserves the original HTTP method and body. |
| 308 Permanent Redirect | /308 | Permanent; preserves method (strict 301 equivalent). |
| Meta refresh | /meta-refresh | Client-side, done in HTML — no HTTP status code involved. |
| JavaScript redirect | /js-redirect | Client-side via window.location; requires JS enabled. |
All of them land on /target.