====== Configuration Setting: userewrite ====== Enable this to use rewriting for nicer, search engine and people friendly, URLs ([[:rewrite|detailed rewrite setup instructions]]). * Type: Number * Default: ''0'' You can set the following values: ^ Value ^ Info ^ Example URL ^ ^ | 0 | //Default//. No URL rewriting is used. | %%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 **will** make your wiki and the configuration menu inaccessible. You **must** additionally configure your web server accordingly, follow [[:Rewrite]]. ===== See also ===== * [[:config:|Configuring DokuWiki]] * [[:Rewrite|Rewrite setup]] * [[Useslash]]