DokuWiki

It's better when it's simple

User Tools

Site Tools


config:userewrite

This is an old revision of the document!


Configuration Setting: userewrite

Enable this to use rewriting for nicer, search engine (& people) friendly, URLs (detailed rewrite setup instructions).

  • Type: Number
  • Default: 0

You can set the following values:

Value Info Example URL
0 No URL rewriting is used. This is the default. http://example.com/dokuwiki/doku.php?id=wiki:syntax
1 URL rewriting is done in conjunction with the webserver. e.g. With Apache you need to setup an .htaccess file http://example.com/dokuwiki/wiki:syntax More info
2 The rewriting is done by DokuWiki. http://example.com/dokuwiki/doku.php/wiki:syntax More info

Danger: Changing this option will make your wiki and the configuration menu inaccessible. You must additionally configure your web server accordingly, follow Rewrite.

Tip Combine this configuration setting with the useslash configuration setting.

See also

config/userewrite.1358076194.txt.gz · Last modified: 2013-01-13 12:23 by 77.3.153.9

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