April 29, 2011 08:44AM
On Fri, Apr 29, 2011 at 7:14 PM, okone <nginx-forum@nginx.us> wrote:
> 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.
>

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;

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

try_files Wordpress search

okone April 29, 2011 08:14AM

Re: try_files Wordpress search

edogawaconan April 29, 2011 08:44AM

Re: try_files Wordpress search

okone April 29, 2011 09:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready