Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php http://links正在更改为//wordpress_Php_Wordpress - Fatal编程技术网

Php http://links正在更改为//wordpress

Php http://links正在更改为//wordpress,php,wordpress,Php,Wordpress,在我的WordPress站点上,我添加的所有http://链接都被更改为// 例如,当我加载页面时,将更改为 在“我的wordpress编辑器”的文本编辑模式下,将显示正确的代码,但在浏览器控制台中,该代码显示时链接中没有http: 什么原因可能导致这种情况?以/开头的链接不是内部链接是什么原因导致http:从链接中剥离?您如何看到链接被剥离?在源html中?也许你的客户端上有一些javascript可以做到这一点?我可以从浏览器控制台上看到页面的html,这通常被认为是很好的做法,因为它不知道

在我的WordPress站点上,我添加的所有http://链接都被更改为//

例如,当我加载页面时,
将更改为

在“我的wordpress编辑器”的文本编辑模式下,将显示正确的代码,但在浏览器控制台中,该代码显示时链接中没有http:


什么原因可能导致这种情况?

/
开头的链接不是内部链接是什么原因导致http:从链接中剥离?您如何看到链接被剥离?在源html中?也许你的客户端上有一些javascript可以做到这一点?我可以从浏览器控制台上看到页面的html,这通常被认为是很好的做法,因为它不知道具体的传输方法,例如:链接作为http和https都是有效的。