lighttpd支持wordpress postname permalink的方法
时间:2015-01-19 12:39 来源:linux.it.net.cn 作者:IT
wp用的htaccess,lighttpd不支持,但只需要设置下lighttpd,一样可以支持postname permalink了。加入下面的语句即可。这段配置来自素包子(http://baoz.net/)
text代码
$HTTP["host"] =~ “xxxx.org” {
server.error-handler-404 = “/index.php”
server.document-root = “/www/xxx.org”
}
(责任编辑:IT)
wp用的htaccess,lighttpd不支持,但只需要设置下lighttpd,一样可以支持postname permalink了。加入下面的语句即可。这段配置来自素包子(http://baoz.net/) text代码 $HTTP["host"] =~ “xxxx.org” { server.error-handler-404 = “/index.php” server.document-root = “/www/xxx.org” }(责任编辑:IT) |