不安全的< form>呼叫Wordpress网站(Insecure <form> call on Wordpress Site)

其他开发 IT屋
百度翻译此文   有道翻译此文
问 题

I am going crazy trying to get my site secure. There is a form that is supposedly not allowing my site SSL

When I look it up on WhyNoPadLock.com I get:

Insecure call Found on line # 247 in file: rideyellow.com/index.html

I looked through the style sheet and have changed all of the hard coded domain links to https already.

We do have a Call Now button in the header that was custom coded into the site. this works with Javascript. Its a plugin called Anything Pop Up. Could this Javascript be the root of the problem? How can I fix this issue?

I cannot find this "form" anywhere. Any help is much appreciated!

解决方案

I visited your site. You are loading mixed content, as can be seen through the following Chrome console warning:

Mixed Content: The page at 'https://rideyellow.com/' was loaded over HTTPS, but requested an insecure video 'http://rideyellow.com/wp-content/uploads/2017/01/RideYellow_1.mp4'. This content should also be served over HTTPS.

Also, you do have a form element in line 247, but you seem to be calling its action over HTTPS, so it should be fine. If you still get issues over this, leave out the action attribute altogether, as you're just referencing the same page.

本文地址:IT屋 » Insecure <form> call on Wordpress Site

问 题

我为了让我的网站安全而疯狂。有一个表格,据说不允许我的网站SSL



当我在WhyNoPadLock.com上查看时,我得到:




在文件中的第247行找到不安全的电话:
rideyellow.com/index.html




我查看了样式表,并已将所有硬编码域链接更改为https。



我们在自定义编码到网站的标题中有一个“立即调用”按钮。这适用于Javascript。它是一个名为Anything Pop Up的插件。这个Javascript可能是问题的根源吗?我该如何解决这个问题呢?



我无法在任何地方找到这个“表格”。非常感谢任何帮助!


解决方案

我访问了您的网站。您正在加载混合内容,可以通过以下Chrome控制台警告看到:




混合内容:' https://rideyellow.com/ '加载了
HTTPS,但请求了一个不安全的视频
' http://rideyellow.com/wp-content/uploads/2017/01/01 /RideYellow_1.mp4 ”。
此内容也应通过HTTPS提供。




此外,第247行确实有一个表单元素,但是你似乎是通过HTTPS调用它的动作,所以应该没问题。如果您仍然遇到问题,请完全省略action属性,因为您只是引用相同的页面。


本文地址:IT屋 » 不安全的< form>呼叫Wordpress网站

官方微信
扫一扫关注IT屋
微信公众号搜索 “ IT屋 ” ,选择关注
与百万开发者在一起