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 PermanentlyWhen 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.