User Tools

Site Tools


http_301

HTTP 301

Return to HTTP topics, HTTP, HTTPS

Also called 301 Moved Permanently, Moved Permanently

Snippet from Wikipedia: HTTP 301


On the World Wide Web, HTTP 301 is the HTTP response status code for 301 Moved Permanently. It is used for permanent redirecting, meaning that links or records returning this response 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.

RFC 2616 states that:

  • If a client has link-editing capabilities, it should update all references to the Request URL.
  • The response is cacheable unless indicated otherwise.
  • Unless the request method was HEAD, the entity should contain a small hypertext note with a hyperlink to the new URL(s).
  • If the 301 status code is received in response to a request of any type other than GET or HEAD, the client must ask the user before redirecting.



HTTP:

Request methods

Header fields:

Status codes:

Security access control methods:

Security vulnerabilities:

http navbar



Cloud Monk is Retired (for now). Buddha with you. © 2024 Losang Jinpa or Fair Use. Disclaimers. REPLACE with: navbar_footer


http_301.txt · Last modified: 2024/04/28 03:18 (external edit)