DokuWiki

It's better when it's simple

User Tools

Site Tools


config:send404

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:send404 [2013-12-25 17:18] – [See also] 88.198.184.125config:send404 [2014-01-18 12:55] (current) – added reference to notfound plugin, changed wrong 'true' to '1' ach
Line 1: Line 1:
 ====== Configuration Setting: send404 ====== ====== Configuration Setting: send404 ======
  
-When someone follows a link to a page that does not exist yet, DokuWiki will send a usual 200 HTTP response. In a wiki, this is a desired behaviour, however if DokuWiki is used as a CMS system, one might prefer to have DokuWiki answer with a 404 "not found" response. Setting ''send404'' to ''true'' will cause this behaviour.+When someone follows a link to a page that does not exist yet, DokuWiki will send a usual 200 HTTP response. In a wiki, this is a desired behaviour, however if DokuWiki is used as a CMS system, one might prefer to have DokuWiki answer with a 404 "not found" response. Setting ''send404'' to ''1'' will cause this behaviour.
  
   * Type: Boolean   * Type: Boolean
Line 8: Line 8:
 Note: this will not change what content will be sent, only the HTTP status changes. Note: this will not change what content will be sent, only the HTTP status changes.
  
-===== Смотрите также ===== +===== See also =====
- +
-  * [[:config:|Конфигурация DokuWiki]]+
  
 +  * [[:config:|Configuring DokuWiki]]
 +  * [[plugin:notfound|notfound plugin]]
  
config/send404.txt · Last modified: 2014-01-18 12:55 by ach

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki