Use when auditing a site's internal link structure, identifying pages that need more incoming links, generating contextual linking opportunities between related
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-internal-links-445c24aec39a ,按照其中的说明把「internal-links」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Internal links are how PageRank flows through your site. A key page with few internal links receives less PageRank signal, ranking lower than its content quality would otherwise allow. Googlebot also discovers pages through internal links — a page with zero incoming links is likely an orphan page.
Using a site crawl, build a map of internal links. For each important page (key landing pages, top blog posts, product pages): (1) Count the number of unique internal pages linking to it. (2) Check if the anchor text of those links includes relevant keywords for the target page. (3) Identify pages with 0–2 incoming internal links (likely orphans or under-linked). (4) Verify links are in body content, not only in global navigation or footer.
PageRank, Google's foundational ranking algorithm, flows from page to page through internal links. A page with many high-quality internal links pointing to it receives more PageRank signal and ranks more competitively. Anchor text of internal links also provides keyword context signals to Google about the target page's topic.
Build an internal link graph from crawl data. Compute in-degree (number of pages linking in) for each page. Flag pages with in-degree < 2 that are in the sitemap and not excluded by robots/noindex. Check anchor text of internal links for generic text ('here', 'click', 'read more') that could be replaced with descriptive keyword-rich text.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/seo/internal-links