It's better when it's simple

User Tools

Site Tools


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 1 will cause this behaviour.

  • Type: Boolean
  • Default: 0

Note: this will not change what content will be sent, only the HTTP status changes.

See also

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