Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1105357 of 308 Permanent Redirect

  • Revision slug: Web/HTTP/Status/308
  • Revision title: 308 Permanent Redirect
  • Revision id: 1105357
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{HTTPSidebar}}

The HTTP 308 Permanent Redirect redirect status response code indicates that the resource requested has been definitively moved to the URL given by the {{HTTPHeader("Location")}} headers. Browser redirects to this page, and search engines updates their link to the resource (In SEO-speak, it is said that the link-juice is sent to the new URL).

The request method and the body will not be altered, whereas {{HTTPStatus("301")}} may incorrectly sometimes be changed to a {{HTTPHeader("GET")}} method.

Some Web applications may use the 308 Permanent Redirect in a non-standard way and for other purposes. For example Google Drive uses a 308 Resume Incomplete response to indicate to the client when an incomplete upload stalled.[1]

Status

308 Permanent Redirect

Specifications

Specification Title
{{RFC("7538", "308 Permanent Redirect" , "3")}} The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect)

Browser compatibility

{{Compat}}

See also

  • {{HTTPStatus("301")}} Moved Permanently
  • {{HTTPStatus("302")}} Found, the temporary redirect

Revision Source

<div>{{HTTPSidebar}}</div>

<p>The HTTP <code><strong>308</strong></code><strong><code> Permanent Redirect</code></strong> redirect status response code indicates that the resource requested has been definitively moved to the URL given by the {{HTTPHeader("Location")}} headers. Browser redirects to this page, and search engines updates their link to the resource (In SEO-speak, it is said that the link-juice is sent to the new URL).</p>

<p>The request method and the body will not be altered, whereas {{HTTPStatus("301")}} may incorrectly sometimes be changed to a {{HTTPHeader("GET")}} method.</p>

<div class="note">
<p>Some Web applications may use the <code>308 Permanent Redirect</code> in a non-standard way and for other purposes. For example Google Drive uses a <code>308 Resume Incomplete</code> response to indicate to the client when an incomplete upload stalled.<sup><a href="https://developers.google.com/drive/v3/web/manage-uploads#resumable">[1]</a></sup></p>
</div>

<h2 id="Status">Status</h2>

<pre class="syntaxbox">
308 Permanent Redirect</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("7538", "308 Permanent Redirect" , "3")}}</td>
   <td>The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect)</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you’d like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data/README.md">https://github.com/mdn/browser-compat-data/README.md</a> and send us a pull request.</p>

<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li>{{HTTPStatus("301")}} <code>Moved Permanently</code></li>
 <li>{{HTTPStatus("302")}} <code>Found</code>, the temporary redirect</li>
</ul>
Revert to this revision