【问题标题】:Having problems after redirecting website https重定向网站 https 后出现问题
【发布时间】:2017-09-29 19:38:58
【问题描述】:

我的最新消息有这个网格框,看起来像这样:

Everything works fine

现在我尝试将我的网站重定向到 HTTPS,但突然我的日期和时间不起作用。

Date and Time doesn't work

我尝试将日期和时间链接更改为 HTTPS,但仍然无法正常工作

我做错了吗?

这是我的 html 代码:

<div class="col_seventh up">
							<div class="hover panel">
							  <div class="front">
								<div class="box7">
								  <iframe scrolling="no" frameborder="no" clocktype="html5" style="overflow:hidden;border:0;margin:0;padding:0;width:250px;height:250px;" src="https://www.clocklink.com/html5embed.php?clock=039&timezone=AWST&color=black&size=250&Title=&Message=&Target=&From=2017,1,1,0,0,0&Color=black"></iframe>
								</div>
							  </div>
							  <div class="back">
								<div class="box8">
								  <iframe id="forecast_embed" frameborder="0" height="280" width="100%" src="https://forecast.io/embed/#lat=14.5995&lon=120.9842&name=Manila&color=#00aaff&font=Calibri&units=uk"></iframe>
								</div>
							  </div>
							</div>
						  </div>

【问题讨论】:

  • 您的控制台是否抛出任何错误?关于重定向时的 HTTPS 问题?
  • @Jorden1337 不是真的,我没有收到任何错误
  • 原因是您可能没有 SSL 证书来通过 HTTPS 提供该日期/时间。
  • 您不能在使用 SSL 加载的页面的 iframe 中提供 非 https 内容。同样,如果域不支持 https 内容,则不能在 iframe 中提供 https 内容。

标签: html http https


【解决方案1】:

您在 iframe 中使用的 www.clocklink.com。它没有 SSL 证书。我试图在新标签页中打开。 https 不起作用,但在 http 中。因此,如果您的网站位于 https 中,则您不能将 iframe 中的 clocklink 网站与 http 一起使用。

请找到一个同样适用于 https 的新时钟小部件。

【讨论】:

    猜你喜欢
    • 2017-08-06
    • 2013-04-05
    • 2021-06-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多