问题描述
Google如何查看全部大写的链接?
How does Google view links with all uppercase?
这与Google相同:
Is this the same for Google:
example.net/LogIn.html
example.net/LOGIN.html
example.net/login.html
我需要在链接上重新设计一个大写的旧网站,但我不想失去谷歌排名。
I need to redesign an old site with uppercase on links, but I don't want to lose Google rank.
推荐答案
HTTP URL路径。
HTTP URL paths are case-sensitive.
实例:以下两个网址仅在 O $ c $中有所不同c>与
o
并且它们会导致不同的页面:
Live example: The following two URLs only differ in O
vs. o
and they lead to different pages:
- https://en.wikipedia.org/wiki/Stack_Overflow
- https://en.wikipedia.org/wiki/Stack_overflow
所以第一个为每个符合要求的消费者的消费应该是 /LogIn.html
, /LOGIN.html
和 /login.html
可能导致不同的资源。
So the first assumption of every conforming consumer should be that /LogIn.html
, /LOGIN.html
, and /login.html
could lead to different resources.
消费者可能会使用各种信号来判断是否真的如此,或者服务器是否只是接受任何情况(例如,通过检测重复内容)。但是,如果您有这样的服务器,您可以,或者,规范
链接类型(您可能还需要除了重定向之外还要使用这个。)
Consumers might use various signals to decide if that’s really the case or if the server simply accepts any case (e.g., by detecting duplicate content). But if you have such a server, you would ideally use 301 redirects to point to the canonical variant, or, if that’s not possible, the canonical
link type (you might also want to use this one in addition to the redirect).
这篇关于不同案例的链接之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!