全站静态后再伪静态

全站静态后再伪静态,第1张

wordpress="superseo">ss伪静态,进后台404错误

location/{
if(-f$request_filename/index.html){
rewrite(。*)$1/index.htmlbreak;
}
if(-f$request_filename/index.PHP){
rewrite(。*)$1/index.PHP;
}
if(!-f$请求文件名){
重写(。*)/index.PHP;
}
}
rewrite/WP-admin$$scheme://$host$uri/permanent;

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/744766.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-29
下一篇 2022-04-29

发表评论

登录后才能评论

评论列表(0条)

保存