wordpress修改固定链接后文章和页面打不开的解决方式
Nginx服务器rewrite规则配置:
打开宝塔面板,选择配置文件,在access_log /www/wwwlogs/chillifish.cn.log;
上方添加如下代码
location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
THE END
0
二维码
打赏
海报


wordpress修改固定链接后文章和页面打不开的解决方式
Nginx服务器rewrite规则配置:
打开宝塔面板,选择配置文件,在access_log /www/wwwlogs/chillifish.cn.log; 上方添加如下代码
location /
{
try_files $ur……

文章目录
关闭
共有 0 条评论