Hreflang 标签

Hreflang 标签是告知搜索引擎页面目标语言和地理区域的 HTML 属性。在使用 [[cctld|ccTLD]] 或子目录针对不同市场时,它对于国际 SEO 至关重要。

示例

A site with example.com/en/ and example.com/fr/ uses hreflang='en' and hreflang='fr' to tell Google which version to show to each audience.