SEO On-Page: Internal Links
Guides internal linking strategy for SEO: crawlability, link equity distribution, and user navigation.
When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Scope (On-Page SEO)
- - Internal links: Contextual links; descriptive anchor text; related posts; hub pages
- Breadcrumbs: Implement for large sites (e.g. ecommerce); see breadcrumb-generator
Initial Assessment
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for site structure and key pages.
Identify:
- 1. Site structure: Hub pages, pillar content, supporting pages
- Orphan pages: Pages with no or few internal links
- Priority pages: Pages that need more link equity
Best Practices
Link Structure
| Principle | Guideline |
|---|
| Depth | Important pages within 3 clicks from homepage |
| Orphan pages |
Avoid; ensure every page has at least one internal link; see
site-crawlability for technical detection and crawl issues |
|
Hub-to-spoke | Link from hub/pillar pages to cluster articles; topic cluster structure |
|
Contextual | Place links in relevant body content, not just footers |
Anchor Text
| Principle | Guideline |
|---|
| Descriptive | Use anchor text that describes the target page |
| Variation |
Avoid over-optimization; use natural variation |
|
Keyword | Include target keyword when natural |
Placement
| Location | Use |
|---|
| First paragraph | Primary link to related content |
| Body |
Contextual links throughout |
|
Related/Recommended | End-of-article links |
|
Navigation | Key site sections |
Common Issues
| Issue | Fix |
|---|
| Orphan pages | Add internal links from hub pages or navigation; site-crawlability for technical audit |
| Too many links |
Focus on most important; avoid link stuffing |
| Generic anchors | Use descriptive "learn more about X" instead of "click here" |
| Broken links | Audit and fix 404s; see
site-crawlability for technical audit |
Output Format
- - Internal link audit (if auditing)
- Link opportunities for key pages
- Anchor text recommendations
- Structure improvements
Related Skills
- - article-page-generator: Related posts, contextual links, end-of-article recommendations
- website-structure: Plan page structure and hierarchy; informs internal linking
- site-crawlability: Internal links enable crawling
- url-structure: URL structure affects link patterns
- content-strategy: Topic clusters inform link structure; pillar <-> cluster; cluster <-> cluster
- breadcrumb-generator: Breadcrumbs are internal links; category hierarchy
SEO站内优化:内部链接
指导SEO内部链接策略:可抓取性、链接权重分配和用户导航。
调用时:在首次使用时,如有帮助,先用1-2句话说明此技能涵盖的内容及其重要性,然后提供主要输出。在后续使用或用户要求跳过时,直接进入主要输出。
范围(站内SEO)
- - 内部链接:上下文链接;描述性锚文本;相关文章;枢纽页面
- 面包屑导航:适用于大型网站(如电商);参见面包屑生成器
初步评估
首先检查项目上下文: 如果存在.claude/project-context.md或.cursor/project-context.md,读取其中的网站结构和关键页面。
识别:
- 1. 网站结构:枢纽页面、支柱内容、支撑页面
- 孤立页面:没有或很少有内部链接的页面
- 优先页面:需要更多链接权重的页面
最佳实践
链接结构
| 原则 | 指南 |
|---|
| 深度 | 重要页面距离首页不超过3次点击 |
| 孤立页面 |
避免;确保每个页面至少有一个内部链接;技术检测和抓取问题参见
网站可抓取性 |
|
枢纽辐射式 | 从枢纽/支柱页面链接到集群文章;主题集群结构 |
|
上下文相关 | 将链接放在相关内容正文中,而不仅仅是页脚 |
锚文本
避免过度优化;使用自然变化 |
|
关键词 | 在自然的情况下包含目标关键词 |
放置位置
全文中放置上下文链接 |
|
相关/推荐 | 文章末尾链接 |
|
导航 | 网站关键版块 |
常见问题
| 问题 | 解决方案 |
|---|
| 孤立页面 | 从枢纽页面或导航添加内部链接;技术审计参见网站可抓取性 |
| 链接过多 |
聚焦最重要的链接;避免链接堆砌 |
| 通用锚文本 | 使用描述性了解更多关于X代替点击这里 |
| 死链 | 审计并修复404错误;技术审计参见
网站可抓取性 |
输出格式
- - 内部链接审计(如进行审计)
- 关键页面的链接机会
- 锚文本建议
- 结构改进
相关技能
- - 文章页面生成器:相关文章、上下文链接、文章末尾推荐
- 网站结构:规划页面结构和层级;为内部链接提供依据
- 网站可抓取性:内部链接实现爬取
- URL结构:URL结构影响链接模式
- 内容策略:主题集群指导链接结构;支柱<->集群;集群<->集群
- 面包屑生成器:面包屑导航属于内部链接;分类层级