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

Remove HTTPS site from Google search index because users are getting a certificate error

· 52CE 我爱测

We have a busy website where we never used SSL. Recently its indexed by Google as https://www.example.com . The users are getting security certificate errors. In google webmaster tools we can only remove the relative URL. For exa…

问题原文

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

We have a busy website where we never used SSL. Recently its indexed by Google as https://www.example.com. The users are getting security certificate errors.

In google webmaster tools we can only remove the relative URL. For example, any thing after http://www.example.com.

I am using IIS 6.0 to host the site .net website.

I have seen similar posts here and there and almost all of them recommend a redirect. I don't want to set up a redirect as it will slow down the site loading. I guess I would also need to setup a new website on IIS with HTTPS protocol and then do the redirect to HTTP site?

社区高分解答

原帖链接 · Stephen Ostermiller · CC BY-SA 3.0

I'm very surprised that Google is indexing the HTTPS pages with a broken certificate. Google usually prefers the HTTPS site if they both work, but I've never seen it prefer HTTPS when there is a broken cert.

Another solution would be to implement rel canonical link tags that point to the HTTP version. Every page on your site should have a tag pointing to its HTTP URL:

<link rel="canonical" href="http://example.com/my/page.html">

Once those tags are in place they would tell Google that the URL for the page that should be indexed is the HTTP version. One of my sites uses these tags pointing to HTTP. Google indexes the HTTP version.

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

资料来源与适用范围

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

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

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