Isapi Rewrite 4 rules for wordpress
For those of you who might be using Isapi Rewrite 4 on a .net host and yet using wordpress for a blog, here are the rewrite rules. Most blog posts only show things for the index and maybe the wp folders. They tend to leave oout the xmlrpc file which is vital if you plan to use something like windows live writer to make your blog posts.
RewriteBase /
RewriteCond ${REQUEST_FILENAME} !-f
RewriteCond ${REQUEST_FILENAME} !-d
# For special Wordpress folders (e.g. theme, admin, etc.)
RewriteRule /wp-(.*) /wp-$1 [L]
RewriteRule /favicon.ico /favicon.ico [L]
RewriteRule /xmlrpc.php /xmlrpc.php [L]
# For all Wordpress pages
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]