谷歌John Mueller:网站URLs中字母大小写对网站排名是有影响的

网站的URLS是否区分大小写,这是否会影响你的网站排名?

在最新一期的#AskGooglebot#节目中,来自谷歌的John Mueller对这样一个问题给出了答案和更多的解读信息。

谷歌John Mueller:网站URLs中字母大小写对网站排名是有影响的

URLs中字母的大小对SEO有影响吗?

对谷歌来说,URL中字母的大小写绝对是重要的两个URL可能看起来一样,甚至指向相同的内容,但如果一个有大写字母而另一个没有,它们可能被视为不同的URL。

穆勒说:

By definition, URLs are case sensitive, and also things like slashes at the end do matter. So, technically, yes — these things matter. They make URLs different.”

根据定义,URLs是区分大小写的,而且像末尾的斜线也很重要。因此,从技术上讲,是的–这些东西很重要。它们使URL不同。当谷歌认识到同一URL有多个版本时,它将尝试抓取所有的URL,并找出在搜索结果中显示的版本。

虽然这是自动处理的,但穆勒说这并不总是理想的,因为谷歌可能需要更长的时间来发现和索引内容。

If a website still shows the same content in these cases, search engines will try to figure it out on their own and usually that works out well. But it’s not always ideal.

For example, search engines will try to crawl all variations of the URL that they find. This can make it a bit slower for them to find other useful content on your website.”

如果一个网站在这些情况下仍然显示相同的内容,搜索引擎会尝试自己去弄清楚,通常这样做效果很好。但这并不总是理想的。

例如,搜索引擎会尝试抓取他们发现的URL的所有变化。这可能会使他们在你的网站上找到其他有用的内容时变得有点慢。

当谷歌遇到一个URL的多个不同版本时,它启动了一个称为规范化的过程。它决定在SERP中保留哪个URL,并将其他版本的所有信号整合到这个URL中。最终显示在搜索结果中的URL被称为规范的URL。

Also, when search engines find multiple distinct URLs showing the same content they have to decide which of these URLs to keep. We call this canonicalization.

It doesn’t change ranking but our systems might choose a URL that you wouldn’t have chosen.”

此外,当搜索引擎发现有多个不同的URL显示相同的内容时,他们必须决定保留这些URL中的哪一个。我们把这称为规范化(canonicalization)。

它不会改变排名,但我们的系统可能会选择一个你不会选择的URL。

穆勒解释说,URL中的字母案例也可以在robots.txt中发挥一定作用。

Another place where the exact URL plays a role is robots.txt. In the robots.txt file you can signal which parts of a website shouldn’t be crawled.

The robots.txt file also uses exact URLs, so if you have entries there which refer to one version of a URL they would not apply to other versions of that URL. It’s rare that we see this cause problems though.”

另一个确切的URL发挥作用的地方是robots.txt。在robots.txt文件中,你可以表明网站的哪些部分不应该被抓取。

robots.txt文件也使用精确的URL,所以如果你在那里有提及一个URL的一个版本的条目,它们将不适用于该URL的其他版本。不过,我们很少看到这种情况造成的问题。

你可以向谷歌发出信号,表明你希望在搜索结果中显示哪个版本的URL,方法是持续链接到同一版本。

使用rel=”canonical “标签也将向谷歌发出提示,说明你希望在SERP中显示哪个版本的URL。

Using internal linking to link to a consistent version makes your preference clear. Adding a link rel=”canonical” element also helps to confirm that and encourages search engines to focus on that version.

So, in short, upper or lower case does matter for URLs. It’s a good practice to be consistent in how you use them, but it’s usually not that critical for a website

使用内部链接来链接到一个一致的版本,使你的偏好变得清晰。添加一个链接rel=”canonical “元素也有助于确认这一点,并鼓励搜索引擎关注该版本。

因此,简而言之,大写或小写对于URLs来说确实很重要。在你如何使用它们方面保持一致是一个好的做法,但对于一个网站来说,它通常不是那么关键。

视频地址:

原创文章,作者:华再,如若转载,请注明出处:https://www.zhiwaimao.com/urls-are-case-sensitive/

(0)
上一篇 2021年9月27日
下一篇 2021年10月9日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注