现在位置: 首页 > 所有关于 wordpress 文章
wordpress 在 lighttpd 上的 URL 伪静态设置
wordpress 在 lighttpd 上的 URL 伪静态设置 url.rewrite for Wordpress on Lighttpd
在WORDPRESS中,设置Customize Permalink Structure为:
Custom structure: /%year%/%monthnum%/%day%/%post_id%.html
伪静态代码如下:
url.rewrite = (
“^/wordpress/?$” => “/wordpress/index.php”,
“^/wordpress/(wp-.+)$” => “$0″,
“^/wordpress/xmlrpc.php” => “$0″,
“^/wordpress/sitemap.xml” => “$0″,
“^/wordpress/(.+)/?$” => “/wordpress/index.php/$1″
)

最新评论
很强大的一年就要过去了