title: Wordpress 3.0 conversion of .htaccess to nginx rewrite rules
body: <pre><code>RewriteEngine On
  RewriteBase BASE/
  
  #uploaded files
  RewriteRule ^(.*/)?files/$ index.php [L]
  RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
  RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
  
  # add a trailing slash to /wp-admin
  RewriteCond %{REQUEST_URI} ^.*/wp-admin$
  RewriteRule ^(.+)$ $1/ [R=301,L]
  
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule . - [L]
  RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
  RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
  RewriteRule . index.php [L]
  </code></pre>
  
  <p>What would it look like in Nginx?</p>
  
  <p>Thank you very much,</p>
  
  <p>Eiso</p>