Wordpress (single blog installation) and nginx

HonDev Developer developerhondev at gmail.com
Mon Dec 31 10:07:04 MSK 2007


ok I'm running 0.6.4.  maybe thats why mine didn't work for you.

On Dec 28, 2007 6:28 AM, Lipton Tea <lists at ruby-forum.com> wrote:

> Abdul-Rahman Advany wrote:
> > Doesn't work for me, even if I try www.blog.com/index.php?q=/bla/bla
>
> HonDev's regex rewrite doesn't work for me. I found a few other sites
> that list the same or slightly modified rewrite rule. After 10 hours
> trying to figure out wtf the problem was (I just installed and started
> using nginx today) I realized it had to be the rewrite rule so I
> examined it more closely. Below is the rewrite rule that works for me
> with
>
> Wordpress 2.3.1
> nginx version: nginx/0.5.34
>
> Make sure you clear your cache after changing the rewrite rule.
>
>          if (!-e $request_filename) {
>            rewrite ^(.*)$ $1/index.php last;
>
> If anyone wants to see my nginx.conf I can post it here. Also, if the
> rewrite rule works for you please reply and let me know. Thanks!
> --
> Posted via http://www.ruby-forum.com/.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071231/4bff817e/attachment.html>


More information about the nginx mailing list