wordpress - 奇怪的wordpress行为
解决方案
作为解决方案,我放置在网站 oodsideales.com > Apache & Nginx > Additional Ngix directives default nginx rewrite rules:
if (!-e $request_filename) {
set $test P;
}
if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location)) {
set $test "${test}C";
}
if ($test = PC) {
rewrite ^/(.*)$ /index.php?$1;
}
推荐阅读
- sql - 合并同一结果集中的两个 SQL 查询
- html - Padding Not Working 字体真棒徽标
- php - 页面 php 在网络文件系统中查找文件
- java - Spring Boot Jar 地狱
- reactjs - 链接需要按两次,React Router v4
- shell - 编写 unix 脚本来增加日期
- javascript - 如何使用 Echarts.js 使每列颜色不同并从每列创建图例
- azure - 如何在日志中查找 SQL Azure Scale 事件?
- ios - 如何在 ios 中以编程方式旋转/缩放/更改 SCNNode 的坐标
- c# - 在 Azure 函数中是否可以写入另一个订阅中的服务总线?