跳到正文
Skillpedia
SEO75k · #2809

dead-end-pages

它能做什么

这项技能找出网站上通向别处的死路页面,并建议可以添加的相关链接。适合希望提高搜索可见性的网站所有者和营销人员。

适用场景

  • ✓当你的博客文章或商品页面没有指向其他页面的链接时。
  • ✓当访客读完一个页面就很快离开网站时。
  • ✓当你希望搜索引擎找到更多页面时。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/dead-end-pages/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/dead-end-pages/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“你能找出我网站上没有链接到任何其他内容的页面,并建议链接吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会统计每个页面主要内容中的站内链接数量,然后建议链接到两到五个相关页面,并尽可能放在正文之中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Add outgoing links to dead-end pages

Googlebot follows links to discover and re-crawl pages. A page with no outgoing internal links stops the crawler from reaching the rest of your site from that point and leaves users with nowhere logical to go, increasing bounce rate.

Quick Reference

  • Every page should link to at least 2–3 contextually relevant internal pages to aid navigation and crawling
  • Pages with zero outgoing links trap crawlers and users, forming dead ends in your site's link graph
  • Contextual inline links (within body content) pass more value than footer or navigation links alone

Check

For each page, count the number of <a href> links pointing to other pages on the same domain (exclude navigation/header/footer if they are templated identically across all pages). Flag any page with zero or fewer than two unique internal links in the main content body (<main> or <article> element).

Fix

  1. Identify all pages flagged as dead ends (no or minimal outgoing internal links in body content).
  2. For each dead-end page, identify 2–5 topically related pages on the site.
  3. Add contextual inline links within the body content — not just in headers or footers.
  4. Example: A blog post about CSS Grid should link to related posts on Flexbox and responsive design.
  5. Add a "Related articles" or "See also" section at the bottom if inline links are not practical.
  6. Re-crawl after changes to verify the links appear in the rendered DOM.

Explain

Internal links are the edges of your site's graph. Crawlers navigate by following links; a page with no outgoing links is a node with no edges leading forward. This prevents Googlebot from discovering linked pages during a crawl initiated from that dead end, and it signals to users that there is nothing more to explore.

Code Review

Parse the <main> or <article> element of each rendered page. Count <a href> tags pointing to same-domain URLs. Flag pages with fewer than 2 such links. Exclude navigation, header, and footer elements that are shared across all pages, as these do not count as contextual internal links.


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

Rule page: https://frontendchecklist.io/rules/seo/dead-end-pages

常见问题

正文中的链接为什么更重要?

这项技能说明,正文内容中的上下文链接比只出现在页眉或页脚中的链接更有价值。

如果页面没有合适的相关页面怎么办?

这项技能建议在页面底部添加“相关文章”或“另请参阅”部分作为后备方案。

菜单中的链接算在内吗?

每个页面都相同的菜单和页脚通常不计入统计。

详情

作者的原始描述

Use when auditing a site's internal link graph for dead-end pages, suggesting related-content links to add to thin or standalone pages, or reviewing CMS templates that produce link-free content pages.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2809
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能