I have my WP running on an Nginx environment, with Wordfence, WP Rocket, and Search&Filter plugins installed (along with some others). Permalinks are working just fine, except /search
permalink which should be pointing (with S&F plugin) to search.php
but returns error 404. saving permalinks settings fixes the problem, but after several hours the 404 comes back. I guess there is probably a scheduled job (cache? security) that is overriding S&F settings...
My server guy thinks it's S&F related, S&F support think it's a server config issue, and I'm stuck with a broken search system :)
Any ideas? Thanks.
I have my WP running on an Nginx environment, with Wordfence, WP Rocket, and Search&Filter plugins installed (along with some others). Permalinks are working just fine, except /search
permalink which should be pointing (with S&F plugin) to search.php
but returns error 404. saving permalinks settings fixes the problem, but after several hours the 404 comes back. I guess there is probably a scheduled job (cache? security) that is overriding S&F settings...
My server guy thinks it's S&F related, S&F support think it's a server config issue, and I'm stuck with a broken search system :)
Any ideas? Thanks.
When you visit the Permalinks page, the permalinks rules are being flushed. It also forces WordPress to reload them. For this reason, you see the issue go away after saving permalink settings. But after some time, it comes back once again .
Try following these steps: