301 Moved Permanently
The resource has a new permanent URL, given in the Location header.
301 is the standard redirect for moved pages, HTTP-to-HTTPS upgrades and www/non-www normalisation. Browsers cache 301 responses aggressively, sometimes for months, so a wrong 301 is hard to undo for existing visitors.
Historically, clients may turn a POST into a GET when following a 301. If the method must be kept, use 308.
What to do
- Point each old URL directly at its final destination instead of chaining several redirects.
- Test a new permanent redirect with 302 first, then switch to 301 once it is correct.
Search engines
Search engines transfer ranking signals to the target and replace the old URL in the index. This is the redirect to use for site moves.
Check a URL
See which status code a page returns right now with the header check, or trace a full chain with the redirect checker.
Specification: RFC 9110 §15.4.2