An internal link is a link from one page of a website to another page on the same site. Menus, breadcrumbs, "related articles" boxes and links inside the text are all internal links. Links to other websites are external links; links from other sites to yours are backlinks.
Internal links are the part of linking you fully control. You choose which pages link where, and with what words.
What internal links do
Internal links do three jobs at once:
- They help visitors keep going. A reader who finishes an article on pricing pages may want your guide to checkout design next. A link puts it one click away.
- They help Google find pages. Google finds pages mainly by following links from pages it already knows, for example when a category page links to a new blog post. A sitemap also helps, but a page no other page links to is easy to miss (Google Search Central).
- They tell Google what pages are about and which matter. Google uses links as a signal of relevance, and its link analysis systems, including PageRank, are still part of its core ranking systems. The anchor text tells Google what the linked page covers, and Google can use the number of internal links to a page, and how many clicks it takes to reach it, to judge how important the page is within your site.
Google puts the basic rule simply: every page you care about should have a link from at least one other page on your site (Google Search Central).
Make internal links Google can follow
Google can reliably crawl a link only when it's an <a> element with an href that holds a real URL:
<a href="/guides/checkout-design">checkout design guide</a>
Links built only from JavaScript click events, such as <span onclick="goTo('/guides')">, or href="javascript:...", may not be followed. Links that JavaScript inserts into the page are fine as long as they end up as normal <a href> elements.
For an image used as a link, Google takes the image's alt text as the anchor text, so describe the destination there.
Write anchor text that says where the link goes
Good anchor text is descriptive, reasonably short and relevant to both pages. Try reading the link text on its own: if you can't tell what the page behind it is about, rewrite it.
- Vague: "To learn more, click here", with "click here" as the link.
- Better: "See our checkout design guide for the form layout", with "checkout design guide" as the link.
You can use the words people search for, since you control the text. Write naturally, though: cramming keywords into anchors is keyword stuffing, which breaks Google's spam policies. Vary the wording where it reads better; there's no need to use the identical phrase every time.
Space your links out. Several links in a row, with one word each, give readers no context and are hard to tell apart.
Decide which pages link where
A good internal link structure follows how your topics fit together:
- Hub pages link down, detail pages link up. A category or guide page links to each detailed page on the topic, and each detailed page links back to the hub. Breadcrumbs do the "link up" part automatically. See site architecture for planning this.
- Related pages link sideways. Link from one detailed page to another when a reader would genuinely want both.
- Strong pages lend weight. Pages that already attract visitors and backlinks are good places to link from when a new or important page needs attention.
- New pages get links on day one. When you publish, add links to it from a few related existing pages, not only from the blog index.
How many links a page should have has no fixed answer. Google says there's "no magical ideal number"; if it feels like too many for a reader, it probably is.
Internal linking mistakes to fix
- Orphan pages. Orphan pages have no internal links pointing to them. Link to them from relevant pages, or remove or redirect them if they no longer serve a purpose.
- Links to redirects or broken pages. Update internal links to point straight at the final URL. Long redirect chains slow down crawling, and dead links send visitors nowhere.
- Links to duplicate URLs. If a page has several URL versions, always link to the one you've chosen as canonical. Consistent internal links help Google pick the same one.
- Nofollow on your own links. Nofollow is meant for links you don't trust. To keep Google from crawling a section of your own site, Google points to the robots.txt disallow rule instead (Google Search Central).
- Important pages buried deep. If a key page is reachable only through a long chain of pagination or filters, link to it from a menu, hub page or related content.
How to check your internal links
Google Search Console has a Links report with a sample of your internal links and a table of your most internally linked pages. If a page that matters to your business sits near the bottom, it needs more links. A site crawler shows the rest: pages with no internal links, links to redirects and 404s, and how many clicks each page sits from the homepage.
For a single page, check its outgoing links, their anchor text and their status codes, and make sure each one points where the words promise.