301 / 308
Permanent redirects. 308 preserves the request method; 301 may be rewritten to GET by clients.
Overview
301 and 308 are permanent redirects: they tell clients and search engines that a resource has moved to a new URL, but they differ in how the request method is handled. Some clients rewrite a POST after a 301 to GET, while 308 preserves the original method and body.
Use 301 for permanent GET/HEAD moves and 308 when a POST or PUT must stay a POST or PUT. For temporary moves use 302 or 307; 307 preserves the method like 308 but is temporary. Test the full chain before deploying, because a method change or a dropped path can break forms and API clients.
301, 302, 307 and 308 at a glance
| Code | Type | Method | Typical use |
|---|---|---|---|
301 | Permanent | May become GET | Permanent GET/HEAD move |
302 | Temporary | May become GET | Temporary move or test |
307 | Temporary | Preserved | Temporary POST/PUT move |
308 | Permanent | Preserved | Permanent POST/PUT move |
Examples
Real permanent redirects show the status code and target URL.
| Request | Values | Note |
|---|---|---|
| http://github.com | 301 → https://github.com/ | Permanent redirect; responses may be cached and reused. |
| http://cloudflare.com | 301 → https://www.cloudflare.com/ | Permanent redirect; responses may be cached and reused. |
How to use it
- Open Redirect Checker and run it against a real target such as http://github.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- The status code decides whether 301 / 308 preserves the method and body; use 307/308 when the request must stay a POST.
- A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
- A single check shows one target from one environment; confirm 301 / 308 with a second tool, device or source before you change anything.
Why it matters
HTTP headers, redirects, ports, ping and browser network checks.
2 tools use this term
Host / NetworkWhere to check it
Use Redirect Checker, Redirect Chain Checker to inspect it directly. Each tool shows the raw result and its limitations.
Host / NetworkCommon problems and fixes
Two checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.
Tool limitation: read the raw output and confirm with a second tool or vantage point.
Used in these tools
2 toolsStandards and references
Frequently asked questions
What is 301 / 308?+
Permanent redirects. 308 preserves the request method; 301 may be rewritten to GET by clients.
How do I check 301 / 308?+
Use Redirect Checker, Redirect Chain Checker to inspect it directly. Each tool shows the raw result and its limitations.
Why does 301 / 308 matter?+
It affects how Host / Network results are read. HTTP headers, redirects, ports, ping and browser network checks.
What is a common mistake?+
Chaining redirects. Each hop adds latency and can break 301 / 308; collapse to one permanent redirect.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


