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"

)

您必须才能评论!

收藏
新建分类
没有账号? 忘记密码?