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

Google displays wrong website language version

· 52CE 我爱测

I recently updated my website to accept to languages, also did some SEO research and used hrelangs tags to tell google which version of my website to show based on the users language to avoid the issue i'm facing right now. <link…

问题原文

原帖链接 · Steve · CC BY-SA 4.0

I recently updated my website to accept to languages, also did some SEO research and used hrelangs tags to tell google which version of my website to show based on the users language to avoid the issue i'm facing right now.

    <link rel="canonical" href="https://example.gr/">
    <link rel="alternate" href="https://example.gr/" hreflang="el-gr">
    <link rel="alternate" href="https://example.gr/" hreflang="el">
    <link rel="alternate" href="https://example.gr/" hreflang="x-default">
    <link rel="alternate" href="https://example.gr/en" hreflang="en">

This is what i have in my headers, but, google displays the english version of my website, why is this happening?

**UPDATE

Using URL inspection tool within Search Console displays the canonical as the one i set, but Google hasn't set a canonical yet.

已采纳解答

原帖链接 · Kannan · CC BY-SA 4.0

Google relies on several signals to determine the language of a user. And Google's algorithms like most machine learning algorithms are not always hundred percent correct. For example, browsing history is an important factor. But a user can browse sites in different languages. In such a case, Google determines your language based on its algorithms which can be imperfect due to conflicting signals.

So it is always a good idea to have a language switcher (like a dropdown). Thus a user can navigate to the correct version if Google leads him to another.

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

资料来源与适用范围

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

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

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