Beginner guide
Internal linking: find orphan pages, write anchor text and build hub pages
A beginner's internal linking guide: find orphan pages, write descriptive anchor text, build hub pages and audit your links with a crawl and Search Console.
Key takeaways
- Give every page you want found at least one link from another page on your site, using a normal a element with an href.
- An orphan page is one that no other page on your site links to. Find them by comparing your full page list with a crawl that starts at the home page.
- Write anchor text that would make sense if you read it alone. Avoid click here and read more, and do not stuff it with keywords.
- Build one hub page per main topic that links to every page on that topic, and have each of those pages link back to it.
On this page
Internal linking means connecting pages on your own site with ordinary links, so that people and search engines can reach every page that matters and understand how the pages relate. For a beginner, the job comes down to four tasks done in order: find the pages nothing links to, write link text that describes the destination, group related pages under hub pages, and then check that the links work and can be crawled.
This guide is for marketers who look after a small or medium site and can edit pages in their content management system (CMS). It includes a worked example and a checklist to copy.
Who this guide is for and what you need before you start
You do not need to write code. You do need:
- Editing access to your CMS, ideally including menus.
- Access to Google Search Console for the site, including its Links report (opens in a new tab).
- A full list of the URLs you want people to find. Your XML sitemap or a CMS export is the usual starting point.
- A site crawler: any tool that starts at your home page, follows links and exports the pages it reached.
- A spreadsheet.
Why does internal linking matter for SEO?
For search engine optimization (SEO), links matter because they are how Google finds most new pages. Its SEO starter guide (opens in a new tab) says that most of the new pages it finds each day are found through links. Its link best practices (opens in a new tab) page adds that Google uses links both to discover pages to crawl and as a signal when it judges what a page is relevant to.
Internal links also tell Google which of your pages matter most. In its guidance on site structure for online shops (opens in a new tab), Google explains that it can look at how many links lead to a page within a site, and how many links it has to follow to get there, to infer how important that page is compared with the rest. The same page says Google generally works this out from links between pages rather than from the folder structure of your URLs.
Our read: that guidance is written for shops, but the logic applies to any site. A page buried five clicks deep with one link pointing to it is likely to look minor to Google, whatever you meant.
A sitemap helps too. Google’s sitemap overview (opens in a new tab) says Google can usually discover most of a well-linked site without one, and that listing a URL in a sitemap does not guarantee it will be crawled or indexed. Our read: a sitemap is a useful backup for pages that links do not reach, not a substitute for linking.
Step 1: List every page you want found
- Export your XML sitemap or a list of published pages from your CMS.
- Remove anything that should not be in search: thank-you pages, internal search results, test pages and pages marked
noindex. - Add a column for page type (home, hub, article, product, service, landing page) and a column for priority (high, medium, low). High priority means the page earns traffic, leads or revenue, or you want it to.
How to tell it worked: you have one row per URL, with no duplicates and no redirected URLs in the list.
Step 2: Crawl the site from the home page
Run your crawler from the home page, following only links on your own domain. Export three things for every page it reaches: the URL, the number of internal links pointing to it (often called inlinks), and the click depth, meaning how many clicks it takes to get there from the home page.
Make sure the crawler reads links the way Google does. Google can generally only crawl a link when it is an a element with an href attribute that holds a real web address, according to its link best practices (opens in a new tab). Links made with click handlers on other elements, or with javascript: addresses, may not be followed. If your site builds menus with JavaScript, turn on JavaScript rendering in your crawler.
How to tell it worked: the crawl reached your home page, your main menu pages and a sample of deep pages that you know are linked.
Step 3: Find your orphan pages
An orphan page is a page that no other page on your site links to. It may still be in your sitemap, but a visitor clicking around would never reach it.
To find orphans, compare the two lists:
- Paste the step 1 list and the step 2 crawl export into separate tabs.
- Use a lookup formula to mark each step 1 URL as found or not found in the crawl.
- Every URL marked not found is a likely orphan. Also flag crawled pages with only one inlink, since one menu change could orphan them.
Then decide what to do with each one:
| What you find | What to do |
|---|---|
| A useful page that should rank | Link to it from at least two related pages and from its hub page |
| An outdated page with some value | Update it, then link to it, or merge it into a stronger page |
| A thin or duplicate page | Merge it into the best page on the subject and redirect the old URL |
| A page nobody needs | Remove it, and take it out of your sitemap |
Our article on whether to update, merge or remove old content covers that decision in more detail.
Google’s link best practices (opens in a new tab) set the floor: any page that matters to you needs at least one internal link pointing to it.
How to tell it worked: every high-priority URL has at least two internal links pointing to it from relevant pages.
Step 4: Choose anchor text that describes the page
Anchor text is the visible, clickable words of a link. Google’s link best practices (opens in a new tab) ask for link words that say what the next page is, stay brief and fit both pages. A quick test: if the link words on their own leave you guessing what you will get, rewrite them.
| Weak anchor | Why it fails | Stronger anchor |
|---|---|---|
| click here | Says nothing about the destination | our checklist for a technical SEO audit |
| read more | Same as above, and repeated across the page | how to write title tags |
| best cheap running shoes for women buy online | Crammed with keywords | women’s running shoes |
| this whole sentence about our spring sale and opening hours | Too long to scan | spring sale |
Three more rules from the same Google page:
- Do not stuff keywords. Google notes that keyword stuffing breaks its spam policies. Use the words a reader needs. Our read: varying the wording naturally from page to page also reads better.
- Space your links out. Several links side by side are hard to tell apart. Give each one its own surrounding words, because the text around a link adds context too.
- Label image links. When an image is the link, Google uses the image’s alt text as the anchor text, so do not leave it empty.
Step 5: Build hub pages for your main topics
A hub page is one page that introduces a topic and links to every page you have on it. Each of those pages links back to the hub and, where it helps, to its neighbours. The result is a clear group that a reader can move through and that a crawler can reach in one or two clicks.
Google describes the same pattern for shops in its site structure guidance (opens in a new tab): the menu points to each category, each category points to its sub-categories, and each sub-category points to all of its products. It also warns that pages reachable only through a site search box may not be found, because Googlebot generally does not type searches. Our read: a blog that relies on its search box or on endless scrolling has the same problem, and a hub page is one way to fix it.
To build a hub:
- Pick one topic where you already have five or more pages. Group the rows in your spreadsheet by topic to find candidates.
- Write a short introduction to the topic that is useful on its own, not just a list.
- Link to every page on the topic, grouped under subheadings, with descriptive anchor text and a sentence on what each page covers.
- Add a link back to the hub near the top or bottom of every page in the group.
- Link to the hub from your main menu or from a section landing page, so it sits one or two clicks from the home page.
How to tell it worked: after a re-crawl, every page in the group sits at click depth three or less and links back to the hub.
Step 6: Add links inside the body of your pages
Menus and hubs give structure. Links inside the text add context from the sentence around them.
For each high-priority page, find three to five existing pages that mention its subject and add a link from the most relevant sentence. Google’s link best practices (opens in a new tab) say there is no ideal number of links per page. Our read: if you would skip some of the links as a reader, cut them.
Give your most important pages extra links from prominent places. Google’s site structure guidance (opens in a new tab) gives an example: link to a best-selling product from the home page or from blog posts. Do the same with your most important guide or service page.
Step 7: Check that Google can see the links
A link that looks fine in a browser can still be invisible to a crawler. Check a sample of pages, especially any where menus or related-post widgets load with JavaScript.
- Open the page, view the source or inspect the element, and confirm each link is an
aelement with anhrefholding a real URL. - In Search Console, run the URL Inspection tool (opens in a new tab) on the page, test the live URL and view the tested page to see the HTML Google rendered. Google’s link documentation suggests this check when JavaScript inserts link text.
- Make sure internal links point straight to the final URL, not to a URL that redirects or returns an error. Our technical SEO audit checklist covers redirects and status codes.
Step 8: Audit the result
Re-run the crawl from step 2 and compare it with the first one. Then check Search Console.
The Links report (opens in a new tab) has an internal links section that lists your most-linked pages, and you can select a page to see which of your pages link to it. Google suggests using it to confirm that core pages, such as the home and contact pages, are well linked. As of November 2026, two limits matter: the report shows a sample of links rather than every link, and its tables stop at 1,000 rows. Treat your own crawl as the full record and Search Console as a cross-check.
Copy this checklist into your audit sheet:
- No high-priority page is an orphan.
- Every high-priority page has at least two contextual links from related pages.
- Every high-priority page is three clicks or fewer from the home page.
- No internal link points to a redirect or an error page.
- No link uses click here, read more or an empty anchor.
- Every main topic has a hub page, linked from the menu or a section page.
- Every page in a topic group links back to its hub.
- Links are
aelements with realhrefURLs in the rendered HTML. - Your most important pages appear near the top of the internal links table in Search Console.
Repeat the crawl and checklist every quarter, and after any redesign or menu change.
A worked example on a small blog
Take a hypothetical marketing blog with 120 posts and no hub pages. The sitemap lists 120 post URLs. A crawl from the home page reaches 104 of them, so 16 are orphans. Most of them dropped off when the blog’s paginated archive was replaced by a “load more” button that a crawler could not follow.
| Problem | Fix |
|---|---|
| 16 orphan posts | 11 linked from related posts and a new hub, 3 merged, 2 removed |
| 22 posts on email marketing scattered across categories | One email marketing hub linking to all 22, added to the main menu |
| 40 “read more” links on the home page | Rewritten with each post’s subject as the anchor text |
Related posts widget loaded by a script with no href |
Rebuilt with standard a elements |
After the fixes, the re-crawl reaches all 115 remaining posts, and the email posts sit two clicks from the home page instead of five or six. This example shows the process, not a result: any change in traffic depends on much more than links.
Common mistakes and how to avoid them
- Relying on the sitemap. A sitemap lists the URLs you consider important, but Google also weighs the links pointing to a page, as its site structure guidance (opens in a new tab) explains. Link to the pages too.
- Using the same exact keyword anchor everywhere. It reads badly, and our read is that it edges toward keyword stuffing. Describe the page in natural words.
- Linking everything to everything. Sitewide footers with dozens of links add noise. Link where it helps the reader.
- Breaking links in a redesign. Our read: new menus, infinite scroll and script-built widgets can easily orphan pages. Crawl before and after every launch.
- Forgetting new pages. Add links to every new piece from its hub and from two older related pages on the day it goes live. Add it to your launch routine next to writing its title tag and meta description.
Frequently asked questions
How many internal links should a page have?
Google says there is no ideal number. Link where the reader would want to go next, and cut links when a page starts to feel crowded. As a minimum, any page that matters to you needs at least one internal link pointing to it.
Do internal links need nofollow?
No. Google’s link guidance describes nofollow as something for links you do not trust, paid links and links that users post. Your own pages are none of those, so link to them normally.
Is a sitemap enough for a small site?
Google’s sitemap overview lists about 500 pages or fewer (counting only pages you want in search), thorough internal linking and few media or news pages as signs you might not need one, though it says most sites still benefit from having one. Our read: a sitemap is still a cheap backup, but fix the links first.
What to do next
- Export your page list and run your first crawl this week.
- Fix orphan pages on your high-priority list first.
- Rewrite generic anchors on your home page and main menu pages.
- Build one hub page for your biggest topic.
- Add the audit checklist to your quarterly routine, and read our technical SEO audit checklist for the rest of the crawl.
Advertisement
Reach marketers while they are doing the work.
Sponsor a topic, a guide or a week of the daily briefing. Text-first placements, clearly labelled, no tracking scripts.
See advertising optionsSources
- Link best practices for Google (opens in a new tab) (Google Search Central)
- SEO Starter Guide: The Basics (opens in a new tab) (Google Search Central)
- Help Google understand your ecommerce website structure (opens in a new tab) (Google Search Central)
- Learn about sitemaps (opens in a new tab) (Google Search Central)
- Links report (opens in a new tab) (Google Search Console Help)
- URL Inspection tool (opens in a new tab) (Google Search Console Help)
Standards and corrections
Claims are linked to the sources listed above so you can check them yourself. Our standards are set out in the editorial policy. Found a mistake? Send us a correction.