Wordpress rewrite for lighttpd

posted on 2009-09-16 09:13:40+08:00 by 7895734
  1. url.rewrite-once = (
  2. "^/(.*)?/?files/$" => "index.php",
  3. "^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",
  4. "^/(wp-.*)$" => "$1",
  5. "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
  6. "^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
  7. "." => "index.php"
  8. )

All Code Snippets

Hot Code Snippets

New Code Snippets