UPDATE: 在Cloudflare中,尽管处于开发模式,但我关闭了重定向到HTTPS:这通过了无限循环。但是,如果使用301重定向检查器,可以看到https://www.pokerdiy.com 到http://www.pokerdiy.com 到https://pokerdiy.com 这很奇怪-如何阻止301到http?
我认为这是一个新问题-我最近没有做出任何明显的改变:
我想要的规范URL是https://pokerdiy.com
如果我去http://pokerdiy.com 它重定向到https://pokerdiy.com 如果我去https://pokerdiy.com 如果我转到http://www.pokerdiy.com 如果我去https://www.pokerdiy.com 它进入一个无限循环http://www.redirect-checker.org/index.php 并输入https://www.pokerdiy.com 它似乎在http和https之间交替,直到最终超时。
Possible suspects:
WP重定向模块(当前已禁用)
Cloudflare(切换到开发模式)WP Rocket(当前已禁用)RankMath(当前已禁用)Kinsta主机-关闭HTTPs重定向设置。>>> https://www.pokerdiy.com
> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status: 301 Moved Permanently
Code: 301
Date: Thu, 26 Mar 2020 00:19:51 GMT
Content-Type: text/html
Connection: close
Set-Cookie: __cfduid=d86e44ea081ac34eddfeca3495d0879e21585181991; expires=Sat, 25-Apr-20 00:19:51 GMT; path=/; domain=.pokerdiy.com; HttpOnly; SameSite=Lax; Secure
Location: http://www.pokerdiy.com/
CF-Ray: 579cb3d68917e5f8-LHR
Strict-Transport-Security: max-age=2592000; includeSubDomains; preload
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
RJCF: MISS
x-cfw-cache: MISS
X-Content-Type-Options: nosniff
Server: cloudflare
alt-svc: h3-27=":443"; ma=86400, h3-25=":443"; ma=86400, h3-24=":443"; ma=86400, h3-23=":443"; ma=86400
>>> http://www.pokerdiy.com/
> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------
Status: 301 Moved Permanently
Code: 301
Date: Thu, 26 Mar 2020 00:19:51 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Thu, 26 Mar 2020 01:19:51 GMT
Location: https://www.pokerdiy.com/
X-Content-Type-Options: nosniff
Server: cloudflare
CF-RAY: 579cb3d7b863e630-LHR
alt-svc: h3-27=":443"; ma=86400, h3-25=":443"; ma=86400, h3-24=":443"; ma=86400, h3-23=":443"; ma=86400