lighttpd配置WordPress伪静态(固定链接)
时间:2009-02-23作者:低调的得瑟分类:得瑟一二评论:3
apache 下,WordPress 选择固定链接,会自动生成需要的配置文件,而 lighttpd 下需要手动配置一下,编辑一下 /etc/lighttpd/lighttpd.conf ,添加如下代码:
$HTTP["host"] =~ “www\.lixuxu\.cn$” {
server.error-handler-404= “/index.php”
即可使用 WordPress 固定链接模式。
最新评论