首页 > 解决方案 > 奇怪的wordpress行为

问题描述

这是我第一次看到这种情况,不知道为什么会这样?该图像是我尝试访问我网站上的页面时的控制台照片。.html 来自哪里?在此处输入图像描述

标签: 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;
}

推荐阅读