The HTTP status code 301 Redirect (Moved Permanently) is used for permanent URL redirection, meaning current links or records using the URL that the response is received for should be updated. The new URL should be provided in the Location field included with the response. The 301 redirect is considered a best practice for upgrading users from HTTP to HTTPS.
A method of redirecting a visitor from one web page to another web page. This type of redirect is to be used for permanent redirects (example: you own websiteA.com and websiteB.com but you only want one website. You would 301 redirect all of the traffic from websiteB.com to websiteA.com so that all visitors end up on websiteA.com)