Wordpress站点中的表单调用不安全(搜索框)
问题描述:
我正转换为https,并且每个具有内置WP搜索框的页面都会导致页面被标记为不安全。例如,此页: https://selfreliantschool.com/treat-candida/ 给出337行上的错误(使用whynopadlock.com找到)。Wordpress站点中的表单调用不安全(搜索框)
行337:
<form class="search-form" itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction" method="get" action="https://selfreliantschool.com/" role="search"><meta itemprop="target" content="https://selfreliantschool.com/?s={s}"/>
唯一的非安全的事情是项目类型,不应该有所作为。
对此提出建议?
答
我认为您可以将模板中的itemType
属性更改为https://schema.org/SearchAction
。该网站似乎也支持HTTPS。
我不认为itemType会影响指标,但显然它确实如此。重新加载Genesis框架更新了所有itemType属性。 –