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

  

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"

)

  •   正在提交中,请稍候...
      评论提交成功
    回复 的评论,点击取消回复