<div dir="ltr"><font face="georgia,serif"><div>I have WP installed on my VPS (with nginx 1.3.12 and php5-fpm 5.4.11).<br><br>The first page of search results (/?s=test) is loaded properly, but /page/2/?s=test displays the same content of /page/2/ (so ?s=test isn't taken into account).</div>
</font><font face="georgia,serif"><div><br></div><div style>It's probably something wrong with my nginx config:</div><div><br></div><div>location ~ \.php$ {</div><div> try_files $uri =404;</div><div> fastcgi_split_path_info ^(.+\.php)(/.+)$; </div>
<div> include /etc/nginx/fastcgi.conf;</div><div> fastcgi_pass unix:/var/run/php5-fpm.sock;</div><div>}</div><div><br></div><div>location / {</div><div># if you're just using wordpress and don't want extra rewrites</div>
<div># then replace the word @rewrites with /index.php</div><div> try_files $uri $uri/ /index.php;</div><div><br></div><div style>}<br><br>Articles work fine anyway.. the permalink structure (/%year%/%monthnum%/%day%/%postname%/) works fine.. so I should find a fix that doesn't break that (but "fixes" the search parameter problem).<br>
<br>"DEMO"<br>Page 1 (/?s=test): <a href="http://goo.gl/HigKa">http://goo.gl/HigKa</a><br>Page 2 (/page/2/?s=test): <a href="http://goo.gl/ujftR">http://goo.gl/ujftR</a><br><br><br>Thanks in advance.</div></font></div>