URL shortener
Also known as: 301 Moved Permanently, status 301

HTTP 301

HTTP status 301 Moved Permanently tells the client the resource has a new canonical URL and all future references should use the address in the `Location` header, with search engines consolidating ranking signals to the target.

RFC 9110 defines 301 as a permanent move where user agents and caches should update stored references. Search engines treat a 301 as the strongest instruction to transfer ranking and backlink equity from the old URL to the new one; Google has confirmed that 301 passes nearly all ranking signals after a stable period of crawling. Historically 301 had a quirk that let clients downgrade the HTTP method from `POST` to `GET` when following, which is why API redirections often prefer the stricter 308 response. Browsers cache 301 responses aggressively and some will reuse the cached redirect without revalidating for days, so reverting a 301 in production means users keep hitting the old target until local caches expire — this is why experienced operators treat 301 as close to irreversible. 301 is the right choice when a page has genuinely moved, a domain has been rebranded, or duplicate URLs are being consolidated onto a canonical. It is the wrong choice for campaign links whose target might change.

Examples

  • A blog reply of `301 Moved Permanently` when an old post URL is replaced by a cleaner slug.
  • A company replying `301` from every path of `oldbrand.com` to the matching path on `newbrand.com` after a rebrand.

Related terms

Reference

RFC 9110 §15.4.2