Try_files Wordpress search

I recently switched from using if rules for wordpress “pretty” url
rewriting to the preffered try_files directive. I used the configuration
set out on this
(http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/) page and it
all seemed to have been going well.

However I notice that when I perform a search on wordpress and try to
navigate to page two of the results, it actually directs you to page two
of the blog. I have tried this on the few places I know to have the
try_files rules in place and it seems to happen on all of them.

I just want to know if the issue is with nginx or with Wordpress
internal rewriting? If its the latter then I will get in contact with
them.

Thanks in advance!

Posted at Nginx Forum:

On Fri, Apr 29, 2011 at 7:14 PM, okone [email protected] wrote:

I just want to know if the issue is with nginx or with Wordpress
internal rewriting? If its the latter then I will get in contact with
them.

Probably something related with wordpress rewrite parser. Though it
can be worked around by using

try_files $uri $uri/ /index.php?q=$uri&$args;

instead of the recommended

try_files $uri $uri/ /index.php;

Wow, fast response. I thought the problem would be down to WP, it
usually is.

This worked like a treat, so many thanks.

Posted at Nginx Forum: