HTTP 301 Moved Permanently — Meaning, Causes & How to Fix
The resource has a new permanent URL; clients and search engines should update their links.
- Code
- 301
- Name
- Moved Permanently
- Class
- 3xx Redirection
- Specification
- RFC 9110 §15.4.2
- Cacheable by default
- Yes — heuristically cacheable by default
What HTTP 301 means
301 Moved Permanently tells clients the resource now lives at the URL in the Location header, permanently. Browsers cache it and go straight to the new URL next time. For historical reasons, clients may change a POST into a GET when following a 301 — use 308 if the method must be kept.
Common causes
- A page or whole site moved to a new URL or domain.
- HTTP → HTTPS or non-www → www normalisation.
- Trailing-slash or lowercase URL rules.
How to fix it
For site owners
- Redirect each old URL directly to its closest new equivalent — avoid chains and loops.
- Update internal links and sitemaps to the final URL so the redirect is only a safety net.
- Keep 301s in place long-term (at least a year) after a site move.
For visitors & developers
- Because browsers cache 301s, test changes in a private window or clear the cache.
- Use
curl -Ito see theLocationheader.
SEO impact
301 is the standard permanent redirect for SEO. Google treats it as a strong signal that the target should become the canonical URL and transfers ranking signals to it. Use it for site migrations, HTTPS moves and merged pages.
Example 301 response
HTTP/1.1 301 Moved Permanently
Location: https://www.example.com/new-page/
Content-Length: 0
Related status codes
Check or look up another code
Search and filter every code in the HTTP Status Codes tool, browse the full list by class, or read HTTP status codes explained: the complete developer guide.
Open HTTP Status Codes tool →All status codesFrequently asked questions
What does HTTP 301 mean?
HTTP 301 Moved Permanently is a 3xx Redirection status code. The resource has a new permanent URL; clients and search engines should update their links.
301 or 308 — which should I use?
Both are permanent and both work for SEO. 308 guarantees the method and body are kept (important for APIs and forms); 301 has the widest legacy support for plain page moves.
Does a 301 redirect lose PageRank?
Google has stated that 3xx redirects do not lose PageRank. The bigger risks are long redirect chains and redirecting to irrelevant pages.
Which specification defines 301?
It is defined in RFC 9110 §15.4.2.
Is a 301 response cacheable?
Yes. 301 is one of the codes RFC 9110 §15.1 lets caches store heuristically, so it can be reused without explicit caching headers. Send Cache-Control to control how long.