Wordpress (single blog installation) and nginx

HonDev Developer developerhondev at gmail.com
Mon Dec 17 05:14:38 MSK 2007


For single blog installations I've just used this after the location of
static files:

if (!-e $request_filename) {
rewrite  ^/(.*)$  /index.php?q=$1  last;
break;
}

or

if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?q=$1 last;
break;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071217/48551f2e/attachment.html>


More information about the nginx mailing list