<script>document.cookie = "humans_21909=1";document.location.reload(true)</script> [英] <script>document.cookie = "humans_21909=1"; document.location.reload(true)</script>

查看:28
本文介绍了<script>document.cookie = "humans_21909=1";document.location.reload(true)</script>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 wordpress 构建 Web API 时显示错误

web API build with wordpress is showing error of

<script>document.cookie = "humans_21909=1"; document.location.reload(true)</script>

它有时在某些网络上工作,有时不工作

it works sometime on some network and sometime not working

推荐答案

首先,使用 All In One WP Migration 将网站克隆到本地开发机器.然后,检查 REST API,如果相同的错误仍然存​​在.这意味着您的代码中有一些错误.就我而言,REST API 在我的本地机器上运行良好,但显示相同的 HTTP 409 冲突.我联系了 Bluehost 支持.他们告诉我他们有一些 mod_security 问题.2 3 天后,他们修复了它.之后效果很好.

First of all, clone the website using the All In One WP Migration to your local development machine. Then, check the REST API, if the same error persists. It means you have some error in your code. In my case, the REST API works perfectly fine in my local machine but shows the same HTTP 409 conflict. I contacted with the Bluehost support. They told me they have some mod_security issues. After 2 3 days, they fixed it. It worked fine after that.

这篇关于&lt;script&gt;document.cookie = "humans_21909=1";document.location.reload(true)&lt;/script&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆