Wordpress (single blog installation) and nginx

Abdul-Rahman Advany abdulrahman at advany.com
Mon Dec 17 05:46:04 MSK 2007


Doesn't work for me, even if I try www.blog.com/index.php?q=/bla/bla

On Dec 17, 2007, at 3:14 AM, HonDev Developer wrote:

> 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/5cd15dde/attachment.html>


More information about the nginx mailing list