security - permalinks constantly needs re-saving

admin2025-01-07  5

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.phpbut 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.phpbut 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.

Share Improve this question asked Dec 26, 2018 at 13:31 ItukItuk 1711 silver badge11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

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:

  • Deactivate all the plugins. Then activate one by one. In this way, you can find the plugin that is causing the issue.
  • Try using a different theme. If it fixes the issue, there must be a problem with the existing one.
  • Check whether there is any issue in .htaccess file.
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736263189a870.html

最新回复(0)