--- title: 308 Permanent Redirect slug: Web/HTTP/Status/308 tags: - HTTP - HTTP ステータスコード - Reference - リダイレクト translation_of: Web/HTTP/Status/308 --- <div>{{HTTPSidebar}}</div> <p>The HyperText Transfer Protocol (HTTP) <code><strong>308 Permanent Redirect</strong></code> リダイレクトステータスコードは、リクエストされたリソースが {{HTTPHeader("Location")}} ヘッダーで示された URL へ完全に移動したことを示します。ブラウザーはこのページにリダイレクトし、検索エンジンはリソースへのリンクを更新します (「SEO 用語」では、「リンクジュース」が新しい URL に送られたと言われます)。</p> <p> {{HTTPStatus("301")}} の場合は不正に {{HTTPMethod("GET")}} メソッドに変更される可能性があるのに対し、このコードの場合はリクエストメソッドと本文が変更されません。</p> <div class="note"> <p><strong>メモ:</strong> ウェブアプリケーションによっては、 <code>308 Permanent Redirect</code> を標準外かつ他の目的に使用していることがあります。例えば、 Google Drive はアップロードが不完全に停止したことを表すために、 <code>308 Resume Incomplete</code> レスポンスを使用します。<sup><a href="https://developers.google.com/drive/v3/web/manage-uploads#resumable">[1]</a></sup></p> </div> <h2 id="Status" name="Status">ステータス</h2> <pre class="syntaxbox">308 Permanent Redirect</pre> <h2 id="Specifications" name="Specifications">仕様書</h2> <table class="standard-table"> <thead> <tr> <th scope="col">仕様書</th> <th scope="col">題名</th> </tr> </thead> <tbody> <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" name="Browser_compatibility">ブラウザーの対応</h2> <p class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけれるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</p> <p>{{Compat("http.status.308")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> <ul> <li>{{HTTPStatus("301", "301 Moved Permanently")}}</li> <li>{{HTTPStatus("302", "302 Found")}}: 一時リダイレクト</li> </ul>