Internal linking
By Thibault · Updated
Internal linking is the practice of linking pages of the same website to each other, so that users and search engines can find every page and understand which ones matter most.
Why does internal linking matter for SEO?
Internal links are how Google finds most of your pages. Google says it primarily finds pages through links from pages it has already crawled, and that every page you care about should have a link from at least one other page on your site. A page with no internal link pointing to it is close to invisible, even if it sits in your sitemap.
Links also carry meaning. The anchor text, the visible text of the link, tells users and Google what the linked page is about. A page that receives many internal links with clear anchors sends a strong signal: this is an important page on this topic.
How does Google read an internal link?
Google reliably follows a link only when it is an a element with an href attribute. Links built with a span, an onclick event or a javascript: URL are unreliable or not recommended in Google's own documentation. Links inserted with JavaScript can be crawled, as long as they produce this same a href markup in the rendered page.
- Use a real a href link, visible in the rendered HTML.
- Write descriptive anchor text: the anchor alone should make sense, so avoid "click here" or "read more".
- Place links inside text where the surrounding words add context, instead of chaining them together.
- Keep the number of links reasonable: Google says there is no ideal number, but if a page seems to have too many, it probably does.
What does good internal linking look like?
Take a site that sells accounting software and publishes a blog. An article on how to close your books at year end links, in the middle of a paragraph, to the pricing page with the anchor "accounting software for small businesses". Ten other articles do the same with their own context. The pricing page now receives authority from pages that earn backlinks and traffic, plus a clear description of what it is.
Where should you start?
Start with the pages that bring revenue and count how many internal links point to them. Then find pages with zero internal links and link them from a relevant page. Finally, review your anchors: replace generic text with words that describe the destination. There is no absolute rule on the right number of links; test, then watch the result in Search Console.
Frequently asked questions
What is the difference between internal and external links?
An internal link points to another page of the same website. An external link points to a different website. Both help users, but only internal links are fully under your control.
Do internal links built with JavaScript count?
Yes, if they produce a standard a element with an href attribute in the rendered page. Check the rendered HTML with the URL Inspection tool in Search Console to be sure Google sees them.
How many internal links should a page have?
Google says there is no ideal number of links per page. Link where it helps the reader, and if a page looks overloaded with links, it probably is.
