我们正在共享主机站点上使用DIVI。当使用DIVI Visual Editor时, 主机程序显然会将某些Ajax调用检测为威胁, 然后将IP阻塞10分钟左右。他们说, 托管方唯一的补救方法是将IP列入白名单;但是, 我们的WordPress贡献者都没有一个静态IP, 因此这会经常更改。
假设对问题的分析是正确的, 是否存在一种在请求离开客户端之前”修复”空白引荐来源的机制?
#1
你可以尝试将访问控制标头添加到htaccess中(如果尚未添加)。
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
此外, 你可以注册具有静态IP的VPN服务, 并让参与者在登录WP之前先登录VPN。从安全的角度来看, 如果有人从许多(可能是不安全的)地方访问你的网站, 从长远来看, 这可能是一个更好的方法。
来源:
https://www.srcmini02.com/62976.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_42049.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57