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

How do I set my preferred domain in Google search console to use www and https?

· 52CE 我爱测

I have seen a similar question here: Can't add preferred version to Google Webmasters / Search Console I have added the other properties for my website fo Google Search: When I follow the instructions to set a preferred domain I …

问题原文

原帖链接 · Andrew Truckle · CC BY-SA 4.0

I have seen a similar question here:

Can't add preferred version to Google Webmasters / Search Console

I have added the other properties for my website fo Google Search:

When I follow the instructions to set a preferred domain I get confused:

I want to set https://www.publictalksoftware.co.uk as the preferred site. But I can't specifically choose it from the list.

Now that I have all 4 validated there in the console what are the exactly steps to set the desired domain as preferred? #confused

I might have understood this whole concept. I only have one website and all four of those URLS go to the same site.

已采纳解答

原帖链接 · Alexis Wilke · CC BY-SA 4.0

This is no such option because Google considers the two protocols as representing two completely separate websites. The only thing they offer is to distinguish between the use of www or not, so they offer a way to choose one of these for non-secure:

http://www.example.com/
http://example.com/

And for the secure version, one of these:

https://www.example.com/
https://example.com/

They don't offer a way to mix the non-secure and secure versions. The only good way of doing so is to redirect any access to the non-secure version to the secure version so that way the non-secure won't really exist per se (i.e. you should not have/need a Google Search Console version for the non-secure if you want to do that.)

Note: you could also redirect all the secure versions to the non-secure, but Google definitely prefers websites that use SSL.

I don't think it is a good idea to have a canonical to the secure on the non-secure because Google considered both as different sites. At the same time, if you keep both, one is most certainly going to be viewed as a duplicate of the other without such a canonical. I just don't think that canonical is expected to be used between websites (since both of those are going to be considered separate websites...)

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

资料来源与适用范围

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

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

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