Nginx Rewrite rules for Wordpress MU with Wp Super Cache plugin enabled
Posted by admin in Unix, tags: cache, nginx, rewrite, wordpress mu, wordpressmuI’ve spending my time to search how wordpressMU on nginx can support WP Super Cache plugin
By default they only giving us the rewrite rules for Apache
Default nginx rewrite rules without WP Super Cache plugin
rewrite ^.*/files/(.*) /wp-content/blogs.php?file=$1;
if (!-e $request_filename) {
rewrite ^.+?(/wp-.*) $1 last;
rewrite ^.+?(/.*\.php)$ $1 last;
rewrite ^ /index.php last;
}
WP Super Cache plugin will not able to run with that rewrite rules. So now the question is, How can we make nginx rewrite rule to work with WP Super Cache plugin ?

Entries (RSS)