diff options
Diffstat (limited to 'files/bg/web/http/status/404/index.html')
-rw-r--r-- | files/bg/web/http/status/404/index.html | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/files/bg/web/http/status/404/index.html b/files/bg/web/http/status/404/index.html new file mode 100644 index 0000000000..5ec2346c38 --- /dev/null +++ b/files/bg/web/http/status/404/index.html @@ -0,0 +1,61 @@ +--- +title: 404 Not Found +slug: Web/HTTP/Status/404 +tags: + - HTTP + - Грешка при клиента + - Код за състояние + - Четец +translation_of: Web/HTTP/Status/404 +--- +<div>{{HTTPSidebar}}</div> + +<p>Отговорът с код за грешка в протокола HTTP <code><strong>404 Not Found (Не е намерен)</strong></code> означава, че сървърът не може да открие заявения източник. Връзки, водещи до страници от вида 404 често се наричат счупени или мъртви връзки и са пример за т.нар. „<a href="https://en.wikipedia.org/wiki/Link_rot">изгнила връзка</a>“.</p> + +<p>Кодът за състояние 404 не указва дали източникът липсва временно или за постоянно. Но в случай че даден източник бъде премахнат завинаги, по-удачно е да се използва код за състояние {{HTTPStatus(410)}} (Gone) (букв. „отишъл си“) вместо 404.</p> + +<h2 id="Състояние">Състояние</h2> + +<pre class="syntaxbox">404 Not Found</pre> + +<h2 id="Custom_error_pages">Custom error pages</h2> + +<p>Many web sites customize the look of a 404 page to be more helpful to the user and provide guidance on what to do next. Apache servers can be configured using an <strong><code>.htaccess</code></strong> file and a code snippet like the following example.</p> + +<pre class="brush: bash">ErrorDocument 404 /notfound.html</pre> + +<p>For an example of a custom 404 page, see <a href="https://developer.mozilla.org/en-US/404">MDN's 404 page</a>.</p> + +<div class="note"> +<p>Custom design is a good thing, in moderation. Feel free to make your 404 page humorous and human, but don't confuse your users.</p> +</div> + +<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("7231", "404 Not Found" , "6.5.4")}}</td> + <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</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">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p> + +<p>{{Compat("http.status.404")}}</p> + +<h2 id="See_also">See also</h2> + +<ul> + <li>{{HTTPStatus(410)}}</li> + <li> + <p>{{interwiki("wikipedia", "HTTP_404", "Wikipedia: HTTP 404")}}</p> + </li> +</ul> |