Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. HTTP response status codes
  5. 308 Permanent Redirect

308 Permanent Redirect

The HTTP308 Permanent Redirectredirection response status code indicates that the requested resource has been permanently moved to the URL given by theLocation header.

A browser receiving this status will automatically request the resource at the URL in theLocation header, redirecting the user to the new page.Search engines receiving this response will attribute links to the original URL to the redirected resource, passing theSEO ranking to the new URL.

The request method and the bodywill not be modified by the client in the redirected request.A301 Moved Permanently requires the request method and the body to remain unchanged when redirection is performed, but this is incorrectly handled by older clients to use theGET method instead.

Note:Some Web applications may use the308 Permanent Redirect in a non-standard way and for different purposes.For example, Google Drive uses a308 Resume Incomplete response to indicate to the client when an unfinished upload has stalled.SeePerform a resumable download on the Google Drive documentation for more information.

Status

http
308 Permanent Redirect

Examples

308 response to a moved resource

http
GET /featured HTTP/1.1Host: www.example.org
http
HTTP/1.1 308 Permanent RedirectLocation: http://www.example.com/featuredContent-Length: 0

Specifications

Specification
HTTP Semantics
# status.308

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp