wordpress rewrite nginx

Anonymous Coward magasesti at gmail.com
Wed Feb 14 13:09:05 MSK 2007


I tried that too, same result...
I also looked in access.log and i noticed that i was getting 404 on these
files

/test130/wp-content/themes/default/style.css
/test130/wp-content/themes/default/images/kubrickbg.jpg

On website i was trying to access sub.domain.tld/test130/   (which is a blog
in Wordpress Mu) and on the server the files were in

$documentroot/wp-content/themes/home/images/kubrickbg.jpg
$documentroot/wp-content/themes/default/images/kubrickbg.jpg

$documentroot/wp-content/themes/home/style.css
$documentroot/wp-content/themes/default/style.css
$documentroot/wp-content/themes/classic/style.css

Maybe this will clear something...

It's seems that "^([_0-9a-zA-Z-]+)?(/wp-.*)" are static files, so "break"
> stops rewrite cycle. The "last" continues rewrite cycle and request will
> go to "location ~ .php$".
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070214/7f86c72c/attachment.html>


More information about the nginx mailing list