Nginx rewrite rules For WordPress
08 May 2007
I'm looking for a way to implement WordPress's simple htaccess pretty url rules for Nginx.
BEGIN WordPress
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
END WordPress
update: here are my rules, which seem to work.