3xx Redirection

HTTP 301 Moved Permanently

The resource has a new permanent URL. Search engines transfer ranking to the new URL.

301 Moved Permanently tells clients and search engines that the resource has a new permanent URL, given in the Location header. Browsers cache it and search engines move ranking to the new URL.

HTTP/1.1 301 Moved Permanently

When servers send it

  • A site moved from http to https, or from one domain to another.
  • A page's URL changed, for example after a redesign.

How to handle it

  • Browsers may cache a 301 indefinitely, so test with 302 first if the move might be reverted.
  • Some clients turn a POST into a GET when following a 301; use 308 to keep the method and body.
  • Point redirects straight at the final URL: chains of redirects slow pages and waste crawl budget.

Related status codes

Other status codes

1xx Informational

2xx Success

3xx Redirection

5xx Server error

Search all HTTP status codes