lighttpd服务器下wordpress完美rewrite重写规则

作者: 站长 上传时间: 浏览: N/A 下载: N/A 格式: N/A 评分: N/A

此规则为lighttpd服务器最完美的wordpress Rewrite规则。

url.rewrite-once =(

"^/(.*)?/?files/$" => "index.php",

"^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",

"^/(wp-.*)$" => "$1",

"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",

"^/([_0-9a-zA-Z-]+/)?(.*.php)$" => "$2",

"(?.*)$" => "index.php$1",

"." => "index.php"

)

Leave a Comment