No rules were updated. Please verify you have permissions to write to the /w

Wordfence: UNABLE TO UPDATE RULES

No rules were updated. Please verify you have permissions to write to the /w

管理页面横幅(关闭之后一刷新又出来了)显示:

The last rules update for the Wordfence Web Application Firewall was unsuccessful. The last successful update check was July 7,2020 5:06 pm,so this site may be missing new rules added since then. You may wait for the next automatic attempt at July 21,2020 5:07 pm or try to Manually Update by clicking the “Manually Refresh Rules” button below the Rules list.

手动升级时显示:

No rules were updated. Please verify your website can reach the Wordfence servers.

(疑似)解决方法:

通过跟支持人员的散装英语交流,某种程度上解决了问题。

设置php.ini

编辑/usr/local/php/etc/php.ini。修改以下参数:max_execution_time = 300memory_limit = 256M修改好后重启PHP(或者重启整个lnmp也行)。

删除wflogs文件夹

删除该文件夹,让Wordfence重新生成该文件夹。具体位置为:网站目录/wp-content/wflogs直接rm -rf干掉就行。然后刷新网页,就应该已经重新生成了。

相关文章

我想将wordpress的默认接口路由改掉,愿意是默认的带一个 wp...
wordpress自定义分类法之后,我看到链接都自动在后面添加了一...
事情是这样的,我用 get_post_type 函数创建了一个自定义分类...
最近网站莫名其妙的被顶上了,过一个多小时,就注册一个账号...
最近服务器要到期了,就想着把网站转移到另外一台服务器,本...
今天在写wordpress的接口,然后碰到个奇怪的问题,怎么访问都...