Wordpress template_redirect在迁移后创建无限循环

时间:2017-02-21 17:35:47

标签: php wordpress

我刚刚将wordpress网站迁移到了新平台。由于某种原因,该功能

do_action( 'template_redirect' ); 

在wp-includes / template-loader.php中无限循环地重定向回主页。

在日志中我也得到了这个错误。

017/02/21 18:28:04 [error] 3339#3339: *2047 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xx.xxx.x.xxx, server: example.com, request: "GET /cronreevaluateleads.php?run_st=7 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "example.com", referrer: "http://example.com/cronreevaluateleads.php?run_st=7"

任何线索?

0 个答案:

没有答案