360 Secure SkillHub
360 安全技能中心

hreflang

该 Skill 用于多语言站点 hreflang 审计:检查语言/地区标注、x-default、互惠链接与渲染后 HTML/HTTP 响应,并提供修复说明、原理讲解和代码审查线索。完整规则文件缺失,未包含自动化检测脚本或框架示例。

未知作者
热度 0.00
最近更新 2026-10-18 21:39:04
分类:营销依赖:纯提示词应用场景:代码审查 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add seoskills.sh/hreflang
Metadata
name
hreflang
description
Use when auditing metadata, crawlability, structured data, or indexability related to Add hreflang tags for multilingual sites. Verify the rendered HTML and HTTP response rather than relying only on source files.
metadata
{"category":"i18n","priority":"medium","difficulty":"intermediate","estimatedTime":"20","source":"frontendchecklist.io","url":"https://frontendchecklist.io/rules/i18n/hreflang"}

Add hreflang tags for multilingual sites

Without hreflang, users searching in French might see your English page—proper implementation ensures the right language version appears in search results for each region.

Quick Reference

  • hreflang tells search engines which language version to show users
  • Always include x-default for fallback/language selector pages
  • Must be reciprocal—all pages must link to all variations
  • Use ISO 639-1 language codes and ISO 3166-1 Alpha-2 regions

Check

Check if this multilingual website properly implements hreflang tags for language and regional targeting.

Fix

Add appropriate hreflang tags to indicate language and regional variations of this page.

Explain

Explain how hreflang tags help search engines serve the correct language version to users in different regions.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Add hreflang tags for multilingual sites. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/i18n/hreflang