大网数据广告活动
网站运营与故障问答

Will HTTP hyperlinks on HTTPS pages trigger mixed content warnings?

· 52CE 我爱测

I am about switch to HTTPS for a site with about 1000 pages. All external libraries for the theme are secure and all internal ones will be changed over via 301 redirects. What about anchor links within posts? If I am linking to m…

问题原文

原帖链接 · dasickle · CC BY-SA 3.0

I am about switch to HTTPS for a site with about 1000 pages. All external libraries for the theme are secure and all internal ones will be changed over via 301 redirects.

What about anchor links within posts? If I am linking to my friend's URL which is not secure, because he doesn't have one for example within my text, will that also result in mixed content issues?

已采纳解答

原帖链接 · Goyllo · CC BY-SA 3.0

If I understand your question, then you're saying that, your site now serve with https and you want to link your friend site with http protocol.

Then it's totally fine, anchor links does not cause mixed content issue because it is not loaded and render by browser, while images, javascript, css, icons or other files are requested by browser(in src attribute) and if it is loaded without encryption then it cause mixed content issue.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-09-06)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。