如何解决”Updating failed” 的问题

在插件里面心血来潮,看到了一个能给wordpress 做 catching 的插件。安装的时候它提示我要用Permalinks才行。简单呀,在设置里面改好了,这下访问速度就快咯~

但是问题也跟随着这个Permalinks的更改来了,我无法添加新的post,也无法发表新的页面。感觉服务器凉凉了?
然后查了一下官方文档

For nginx, a web server aimed at high concurrency, high performance and low memory usage, add the following location block within the server block:

https://wordpress.org/support/article/using-permalinks/
location / {
            try_files $uri $uri/ /index.php?$args;
}

官方文档真好用

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据