301 Moved Permanently
The requested resource has been permanently moved to a new URL.
Explanation
The 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource should use one of the enclosed URIs. Clients with link-editing capabilities SHOULD automatically re-link references to the original URI to one or more of the new references sent by the server, where possible.
The server SHOULD generate a Location header field in the response containing a preferred URI for redirection. User agents MAY use the Location field value for automatic redirection. The server's response payload usually contains a short hypertext note with a hyperlink to the new URI(s).
301 redirects are cached by browsers, and search engines will update their links to the resource, passing most of the link equity from the old URL to the new one.
Example Response
HTTP/1.1 301 Moved Permanently Location: https://www.example.com/new-page Content-Type: text/html <html> <head> <title>Moved Permanently</title> </head> <body> <h1>Moved Permanently</h1> <p>The document has moved <a href='https://www.example.com/new-page'>here</a>.</p> </body> </html>
Related Status Codes
Check where URLs redirect to with our free URL redirect checker.
Check URL Redirects