====== Configuration Setting: userewrite ====== Enable this to use rewriting for nicer, search engine (& people) friendly, URLs ([[:rewrite|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%% | [[:rewrite#Option 1: web server|More info]] | | 2 | The rewriting is done by DokuWiki. | %%http://example.com/dokuwiki/doku.php/wiki:syntax%% | [[:rewrite#Option 2: DokuWiki|More info]]| {{:config:danger.png }} **Danger**: Changing this option could make your wiki and the configuration menu inaccessible. ===== See also ===== * [[:config:|Configuring DokuWiki]] * [[useslash]] * [[:Rewrite]]