Warning: Use of undefined constant hot - assumed 'hot' (this will throw an Error in a future version of PHP) in /data/wwwroot/lxy.me/wp-content/themes/Ality/inc/sticky-cat.php on line 5


lighttpd下WordPress和Discuz的rewrite规则

lighttpd下WordPress和Discuz的rewrite规则
lighttpd下WordPress的rewrite(伪静态)规则: url.rewrite = ( "^/(wp-.+).*/?" => "$0", "^/(sitemap.xml)" => "$0", "^/(xmlrpc.php)" => "$0", "^/(.+)/?$" => "/index.php/$1" ) lighttpd下Discuz的rewrite(伪静态)规则: url.rewrite-once = ( "^/archiver/((fid|tid)-[\w\-]+\.html)$" => "archiver/index.php?$1", "^/forum-([0-9]+)-([0-9]+)\.html$" => "forum...