zh:config:userewrite
配置设置: 使用重写
启用来使用重写,对搜索引擎和人们更友好的URL (详细的重写设置说明).
- 类型: Number
- 默认值:
0
你可以设置以下值:
值 | 信息 | 例子 URL | |
---|---|---|---|
0 | 默认. 不使用URL重写. | http://example.com/dokuwiki/doku.php?id=wiki:syntax | |
1 | URL重写是用Web服务器来完成的. 如, 用Apache您需要设置一个.htaccess 文件 | http://example.com/dokuwiki/wiki:syntax | 更多信息 |
2 | 由DokuWiki重写. | http://example.com/dokuwiki/doku.php/wiki:syntax | 更多信息 |
危险: 改变这个选项会使你的wiki和配置菜单无法访问. 另外你必须相应地配置您的web服务器,遵循 重写.
另请参阅
zh/config/userewrite.txt · 最后更改: 2017-01-19 07:00 由 223.74.246.78