Understanding Internal Linking
Internal links connect one page of a website to another page on the same website, helping visitors navigate related content and helping search engines discover and understand the site's structure.
Well-planned internal links make it easier to move between related tutorials, reference pages, categories, and supporting information. They also provide search engines with pathways for crawling pages and context about how different pieces of content are connected.
What Are Internal Links?
An internal link is a hyperlink that points from one page to another page or resource within the same website.
<a href="/gardening/tomato-care.html">Tomato Care Guide</a>
Because the link points to another page on the same website, it is an internal link. A link that points to a different website is generally considered an external link.
Internal links can appear in navigation menus, page content, sidebars, breadcrumbs, related-content sections, footers, and many other parts of a website.
Internal Links and SEO
Search engines use links to discover webpages and understand relationships between content. An internal link can help a crawler find another page and provide context about the destination through the surrounding content and link text.
A page that is connected to the rest of the website through useful internal links is generally easier to discover than a page that has no incoming links from other site pages.
Internal linking also helps communicate site organization. Links between category pages, tutorials, reference pages, and related topics can show how individual pages fit into a broader subject.
Use Descriptive Link Text
The visible words inside a link are called anchor text. Good anchor text gives visitors useful information about the destination before they follow the link.
A descriptive link might be:
<a href="/gardening/watering-tomatoes.html">Learn how to water tomato plants</a>
A vague link provides less information:
<a href="/gardening/watering-tomatoes.html">Click here</a>
Descriptive anchor text helps visitors scan content, supports accessibility, and can give search engines additional context about the linked page.
Link Related Content
Internal links are most useful when they connect information that is genuinely related. A visitor reading about growing tomatoes may benefit from links to watering, fertilizing, staking, or harvesting information.
<p>After planting, consistent watering is important.
Read our <a href="/gardening/watering-tomatoes.html">tomato watering guide</a>
for practical watering tips.</p>
The link appears where the related topic is naturally mentioned, making it useful rather than forced.
Avoid adding unrelated links merely because another page needs more internal links. The relationship should make sense to the visitor.
Internal Links and Site Structure
Internal links help create the navigational structure of a website. Broad pages can link to more detailed pages, while detailed pages can link back to category pages and related topics.
Gardening
├── Vegetable Gardening
│ ├── Growing Tomatoes
│ ├── Growing Peppers
│ └── Growing Cucumbers
└── Container Gardening
├── Choosing Containers
└── Container Plant Care
Links between these pages help visitors move through the structure instead of depending on search or the browser's Back button.
A logical structure also helps search engines understand which pages cover broad subjects and which pages provide more specific information.
Navigation Links
Navigation menus provide consistent links to important sections of a website. They help visitors understand the site's major areas and move between them.
<nav aria-label="Main navigation">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/gardening/">Gardening</a></li>
<li><a href="/tools/">Garden Tools</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</nav>
Navigation should concentrate on useful destinations rather than attempting to link every page from every menu. Large websites usually benefit from organized navigation that leads visitors into logical sections.
Contextual Links
Contextual links appear within the main content of a page and connect visitors directly to relevant supporting information.
<p>Tomatoes grow best when they receive consistent moisture.
See our <a href="/gardening/watering-tomatoes.html">guide to watering tomato plants</a>
for more information.</p>
These links can be especially useful because the surrounding text explains why the destination is relevant.
Use contextual links where they genuinely help the reader continue learning rather than inserting them mechanically into every paragraph.
Relative and Root-Relative URLs
Internal links do not always need the complete domain name. Relative and root-relative URLs can point to resources within the same website.
A root-relative internal link begins with a forward slash:
<a href="/gardening/growing-tomatoes.html">Growing Tomatoes</a>
The leading slash tells the browser to begin from the website's root directory. This can make links easier to maintain when pages are stored in different directories.
A document-relative URL is interpreted from the location of the current document:
<a href="growing-tomatoes.html">Growing Tomatoes</a>
Either form can work. The important part is that the URL correctly identifies the intended resource and that the site's linking convention is used consistently.
Avoid Broken Links
An internal link should lead to a valid destination. Broken links create a poor experience for visitors and prevent search engines from following the intended path to the resource.
Broken links commonly appear after files are renamed, directories are reorganized, pages are deleted, or URLs are typed incorrectly.
<a href="/gardening/tomato-care.html">Tomato Care</a>
If /gardening/tomato-care.html is moved, update the internal link and use an appropriate redirect from the old URL when necessary.
Periodically checking internal links is especially useful on larger websites where pages and directories change over time.
Avoid Excessive Linking
More internal links are not automatically better. A page filled with unnecessary links can become difficult to read and can make the most useful navigation choices less obvious.
Links should have a purpose. They might help visitors reach the next part of a tutorial, learn more about a related subject, return to a category, or access a useful reference.
Avoid repeatedly linking every occurrence of the same word simply because a related page exists.
The goal is to create useful pathways through the website rather than maximizing the number of links on each page.
Common Internal Linking Mistakes
| Mistake | Better Approach |
|---|---|
Vague link text such as click here |
Use wording that identifies or describes the destination. |
| Linking unrelated pages | Connect content where the relationship is useful to visitors. |
| Broken internal links | Update links when files or directories change. |
| Pages with no incoming internal links | Connect important pages to appropriate navigation or related content. |
| Excessive repetitive links | Add links where they provide a useful path to additional information. |
| Inconsistent URL styles | Use a consistent internal linking convention throughout the website. |
Internal Linking Example
The following example shows a small page that uses navigation links and contextual links to connect related gardening content.
<nav aria-label="Gardening topics">
<ul>
<li><a href="/gardening/growing-tomatoes.html">Growing Tomatoes</a></li>
<li><a href="/gardening/growing-peppers.html">Growing Peppers</a></li>
<li><a href="/gardening/container-gardening.html">Container Gardening</a></li>
</ul>
</nav>
<main>
<h1>Growing Tomatoes</h1>
<p>Tomatoes need consistent care throughout the growing season.</p>
<h2>Watering</h2>
<p>Keep the soil evenly moist. Learn more in our
<a href="/gardening/watering-tomatoes.html">tomato watering guide</a>.</p>
<h2>Support</h2>
<p>As plants grow, provide support with stakes or cages. See
<a href="/gardening/supporting-tomato-plants.html">how to support tomato plants</a>.</p>
</main>
Try changing the link text in the editor while leaving the destination unchanged. Compare vague wording with text that clearly explains what the linked page contains.
Best Practices
- Connect important pages through useful internal links.
- Use descriptive anchor text that helps identify the destination.
- Link related content where the connection is useful to the visitor.
- Use navigation to provide access to important website sections.
- Add contextual links when they help readers continue learning about a topic.
- Use a consistent internal URL convention.
- Keep links working when files, directories, or page names change.
- Redirect old URLs when content permanently moves to a new location.
- Avoid excessive, repetitive, or unrelated links.
- Make sure important pages are not isolated from the rest of the website.
- Write internal links primarily to help visitors navigate useful content.
Summary
Internal links connect related pages within the same website and help create clear paths through its content. They support navigation, help search engines discover pages, and provide useful context about relationships between topics.
Use descriptive link text, connect genuinely related information, keep URLs working, and avoid unnecessary repetition. A well-linked website is easier for both visitors and search engines to navigate. Next, we will look at how images can be prepared and described for search engines and visitors.
