301 Moved Permanently

Explanation:

The 301 status code indicates that the requested resource has been permanently moved to a new URL provided by the Location header. The server sends this response when a resource or page has been permanently moved to another address.

Usage:

Use this status code to inform clients that the resource they are requesting is now at a new permanent URL, and they should update their bookmarks and links.

Attentions:

  • Since the redirect is permanent, search engines will update their links to the new URL.
  • Do not use this code for temporary content changes; instead, use a 302 Found status code for temporary redirections.

Sample:

undefined