SEO guide

Internal links and site architecture: make your important pages easy to find

Internal links help search engines find the pages on your site, understand what each page is about and sense which ones matter most. In this guide you'll find what makes a link crawlable, how to write anchor text, click depth, topic hubs, orphan pages, pagination and filters, and how to audit your site step by step.

12 min readUpdated: November 9, 2026

In short

  • Google reliably follows links only from <a> elements with an href attribute; elements that work through onclick and javascript: URLs don't count as links.
  • Anchor text should state the topic of the target page in a few words; "click here" and "read more" carry no information.
  • Keep important pages within a few clicks of the homepage. Röntgen's site crawl lists pages deeper than 3 clicks separately.
  • Orphan pages, which are in the sitemap but receive no links from any page, can still be found but lack context; link to them from related pages.
  • Don't use nofollow on internal links. Point links at the final URL that returns 200, not at broken or redirected URLs.

What are internal links for?

An internal link is a link from one page of your site to another page on the same site. Menus, footers, breadcrumbs, category listings and links inside articles all belong to this group. For search engines they do three jobs:

  • Discovery: Googlebot finds new pages largely by following links on pages it already knows. A URL that receives no links from any page is only noticed through the sitemap or links from other sites.
  • Context: the anchor text and the sentence around the link describe what the target page is about. A link with the text "ceramic mug care" tells you the target page's topic before it even opens.
  • Importance: a page that receives links from many pages, especially strong ones such as the homepage and category pages, is seen as an important part of the site. The value of links from other sites also flows to the rest of your site through internal links.

Google's link documentation recommends that every page you care about receives a link from at least one other page on your site.

What is a crawlable link? Problems with JavaScript navigation

According to Google's link documentation, Google can reliably follow a link only if it is an <a> element with a resolvable URL in its href attribute. The first two lines below are followed. The next four are not links for a search engine, even if clicking them in a browser opens the same page:

<a href="https://magaza-ornek.com/kupalar">Kupalar</a>
<a href="/kupalar/mavi-seramik-kupa">Mavi seramik kupa</a>

<span onclick="location.href='/kupalar'">Kupalar</span>
<a onclick="git('/kupalar')">Kupalar</a>
<a href="javascript:git('/kupalar')">Kupalar</a>
<a routerLink="/kupalar">Kupalar</a>

The router components of frameworks such as React, Vue or Angular produce real <a href> elements when used correctly. The problem appears in custom components where navigation happens through buttons or click events. Other common traps:

  • Menus loaded later: the links of drop-down menus that are fetched from the server on hover aren't in the initial HTML.
  • "Load more" and infinite scroll: if there are no real page URLs for the second and later batches of products, those products can't be reached from the category page.
  • URLs that change only after #: Google generally doesn't treat fragments such as /kupalar#sayfa-2 as separate pages.
  • Pages reachable only through the search box: Googlebot doesn't type into search boxes; if a page can only be reached through site search, it won't be discovered.

Google can render the page and run JavaScript, but that is a separate, delayed step and doesn't always succeed. Keeping navigation links in the initial HTML is the safest approach. Röntgen's Site crawl and Link analysis tools don't run JavaScript either; they only read the links in the initial HTML. On a page whose menu is built with JavaScript, Link analysis shows the "No links found on the page" warning or counts far fewer internal links than expected. It also lists javascript: URLs separately with the "rely on JavaScript" warning and href="#" links with the "don't go anywhere" note.

How should you write anchor text?

Anchor text is the visible, clickable text of a link. Google's advice is short and clear: the text should be descriptive, reasonably concise and relevant to the target page. A reader should be able to tell where the link goes before clicking it.

  • Weak: "For our care tips, click here." The anchor text is "click here" and says nothing about the target.
  • Good: "You'll find the dishwasher rules in our ceramic mug care guide." The anchor text becomes "our ceramic mug care guide"; both visitors and search engines learn the target's topic.
  • Overdone: repeating the same phrase ("cheap ceramic mug") in every link doesn't look natural. Google advises against stuffing keywords into anchor text.

For image links, the image's alt text takes the place of anchor text. Give the logo link your brand name and product images the product name. For links made only of an icon (social media, cart, search), use aria-label.

Linking to the same page several times is normal: the menu, the content and the footer may all point to the same category. Because Google doesn't say which text it takes into account in that case, use descriptive text in every link to important pages. Link analysis shows the text of every link on a page and where that text was read from (visible text, the image's alt text, aria-label). Rows with "generic anchor text" or "no anchor text" in the "Notes" column are the ones to fix.

Click depth: flat or deep?

Click depth is how many clicks it takes to reach a page from the start page (usually the homepage) by the shortest path. The homepage has a depth of 0, a category in the menu 1, and a product listed in that category 2. Google doesn't publish a limit, but pages buried deep receive fewer internal links, are crawled less often and look like an unimportant corner of the site.

Depth usually comes from unnecessary intermediate layers. If a product is reached from the homepage via Products › Kitchen › Mugs › Ceramic › Blue mug, it is five clicks away. An overly flat structure is a problem too: linking to hundreds of products from the homepage reduces the weight of each link and blurs the page's topic. The goal is a few meaningful layers with plenty of links between them:

  • Put the main categories in the menu, and subcategories and the most-searched products on category pages.
  • Link directly to page numbers in category listings (1, 2, 3 … 12). In a listing with only a "Next" link, page 12 is 11 clicks away from the category.
  • "Related products" and "related articles" blocks and in-text links reach deep pages by a side route.
  • URL structure and click depth aren't the same thing: a page at /a/b/c/d has a depth of 1 if the homepage links to it directly. Don't change working URLs to reduce depth; fix the links first.

The "Click depth" card in Röntgen's Site crawl report shows how many clicks the crawled HTML pages are from the start URL; the shortest path found for each page is counted. Pages more than 3 clicks from the homepage are also listed under "Notices". This threshold isn't a Google rule but a practical warning. If the list contains important category or product pages, link to them from higher up; it's normal for low-priority pages such as an old blog archive to sit deep.

Topic hubs and content clusters

A topic hub is a page that gathers all the subpages of a topic in one place and links to each of them: a category page, a guide index or a topic page such as "Ceramic care". A topic cluster consists of this hub and the detail pages connected to it. When it's set up correctly, a search engine can tell from the links which page is the topic's overview and which ones are details.

  1. The hub page links to every subpage and explains in a sentence or two next to each link what that page covers. A hub made of nothing but a list of titles stays weak.
  2. Every subpage links back to the hub: through the breadcrumb and a link in the text.
  3. Subpages link to each other, but only those that are genuinely related. A "Mug care" article can link to a "Dishwasher-safe ceramics" article; linking every page in the cluster to every other page makes the links meaningless.
  4. Each page serves a single search. If two pages target the same main phrase, they compete with each other (cannibalization). Group the phrases before building the cluster; you'll find how in the keyword research guide. The phrase each page targets should appear naturally in the anchor text of the links pointing to it.

The hub page's heading structure should reflect the cluster too: make each subtopic an H2 and link the paragraph under that H2 to the subpage. The Heading structure tool extracts the page's H1–H6 outline and reports skipped heading levels, empty headings and long content without an H2 as separate findings.

Breadcrumbs

A breadcrumb is the trail of links at the top of a page that shows its place in the site: Home › Mugs › Blue ceramic mug. It gives visitors a way back to the level above, tells search engines which category the page belongs to and automatically creates internal links from every page to its parent categories.

<nav aria-label="breadcrumb">
  <ol>
    <li><a href="https://magaza-ornek.com/">Ana sayfa</a></li>
    <li><a href="https://magaza-ornek.com/kupalar">Kupalar</a></li>
    <li aria-current="page">Mavi seramik kupa</li>
  </ol>
</nav>

You can also mark up the same trail with BreadcrumbList structured data; the markup should match the trail visible on the page (structured data guide). In early 2025 Google announced that mobile search results would show only the domain name instead of the breadcrumb; desktop results still display it. Even though the look of the search result has changed, the breadcrumb keeps its value as an internal link.

  • If a product belongs to several categories, show a single primary category in the breadcrumb. Breadcrumbs that change with the visitor's path create several URLs for the same product if the category path is also written into the URL.
  • The URLs in the breadcrumb should be final URLs that return 200. If an old category URL remains, every product page ends up with a link to a redirect.

See your site's click depth, orphan pages and broken internal links for up to 100 pages in a single report.

Site crawl

Orphan pages and pages with few links

An orphan page is a page that is live but receives no links from any page on your site. Campaigns removed from the menu, ad landing pages and articles never added anywhere often end up this way. Because they're in the sitemap they can be found, but they lack context signals such as anchor text and a place in the site.

How does Röntgen find orphan pages?

The site crawl moves like a search engine, following links from the start URL; it doesn't add sitemap URLs to the crawl and reads them only for comparison. When the crawl finishes, URLs that are in the sitemap but receive no links from any crawled page are listed under the "Orphan pages" warning with the note "in sitemap, no links". This comparison is reliable only if the crawl has followed every link on the site. If the crawl stops at the page limit you chose (25, 50 or 100), the report says so and no orphan page analysis is done.

Pages with a single link

The "Pages with only one internal link" notice lists URLs, other than the start page, that receive links from only one page; several links from the same page count as one. These pages are one step away from becoming orphans: if the single linking page changes or is removed, the page is orphaned. The "Inlinks" column in the "Crawled URLs" table shows how many different pages link to each page. Sort the table by this column and check whether important pages receive few links.

For an orphan page or a page with few links, first ask whether the page is still needed:

  • If it is needed, link to it from the related category or hub page, from articles on similar topics and, if necessary, from the menu.
  • If it does the same job as another page, merge the content and redirect the old URL with a 301.
  • If it isn't needed, remove it from the sitemap and return 404 or 410. If you like, keep landing pages used only for ads out of the index with noindex.

Pagination, infinite scroll and filters

Category and archive listings are the backbone of the internal link structure; most products and articles are reached through them. Google's pagination documentation recommends the following:

  • Give each page its own URL (?sayfa=2 or /sayfa/2); don't put the page number in a fragment starting with #.
  • Link the pages to each other with ordinary <a href> links. Linking from every page back to the first page also helps.
  • Each page should show its own URL as the canonical. Canonicalizing every page to the first page weakens the discovery of products on the second and later pages.
  • Google no longer uses rel="next" and rel="prev" for indexing; they do no harm but aren't enough on their own.
<link rel="canonical" href="https://magaza-ornek.com/kupalar?sayfa=2">

<nav>
  <a href="/kupalar">1</a>
  <a href="/kupalar?sayfa=2" aria-current="page">2</a>
  <a href="/kupalar?sayfa=3">3</a>
  <a href="/kupalar?sayfa=12">12</a>
</nav>

If you use infinite scroll or a "Load more" button, also provide paginated URLs matching each batch, and include real links to those URLs on the page.

Filters (faceted navigation)

Color, size, price and sorting filters can turn a category of a few hundred products into thousands of URLs: /elbiseler?renk=kirmizi&beden=m&sirala=fiyat. Most of these URLs show the same products in a different order and keep the crawl busy for nothing. Google's faceted navigation documentation describes two approaches:

  • If filtered URLs don't need to appear in search, block their crawling with robots.txt or apply filters through a fragment starting with #. Adding canonical or nofollow to filter links is a weaker approach that becomes less effective over time.
  • If some filters are searched for (such as "red dress"), turn them into permanent pages with their own title and text, linked from the menu or the category page. Write parameters with the standard & separator and always in the same order; return 404 for filter combinations with no results.
User-agent: *
Disallow: /*?*sirala=
Disallow: /*?*fiyat=
Disallow: /*?*beden=

Google can't see the canonical tag on a URL blocked by robots.txt, so don't combine blocking and a canonical for the same URL; choose one. You'll find the indexing side of duplicate URLs in the duplicate content and canonical guide and the rule syntax in the robots.txt guide.

nofollow on internal links

rel="nofollow" says that you don't vouch for the page you're linking to and is designed for external links; sponsored is used for ad links and ugc for links in user content. Since 2019 Google has treated these values as hints rather than strict commands. Putting nofollow on links to your own pages, however, achieves nothing and can do harm:

  • It weakens the page's discovery and the internal link signal it receives.
  • It doesn't keep the page out of the index; a page found some other way can still be indexed.

If you don't want login, cart or account pages to appear in search results, add noindex to the page itself, not to the link; if you don't want the page crawled at all, use robots.txt. Link analysis shows nofollow internal links with the "internal links have nofollow" warning and separates them with the "nofollow" filter in the table. The site crawl, on the other hand, follows nofollow links too, so you'll learn that a page is reached only through nofollow links from Link analysis, not from the crawl report.

Broken, redirected and http internal links

The site crawl records link-level problems on the page containing the link, not on the target URL. That's why a single faulty link in the menu or footer shows up on dozens of pages, and why it can be fixed in one place.

  • Broken internal links (error): links to URLs that return 4xx or 5xx or can't be reached. The details show the target URL and status code. Point the link to a working URL; if the target page has moved, redirect the old URL to the new one with a 301.
  • Internal links pointing to redirects (warning): the link works, but every click needs a redirect. A trailing slash, the switch from http to https and old category URLs are the most common causes. Point the link directly at the final URL.
  • Internal links to HTTP (warning): internal links written with http:// on an https site; each one means an extra redirect.

We explain how to update links after a site migration or URL changes in the redirect guide. To see all the links on a single page with their status codes, tick the "Also check status codes" option in the Link analysis tool; up to 100 unique URLs are checked, internal links first.

Step-by-step internal link audit

  1. Crawl the site. Enter your homepage in the Site crawl and choose 100 pages. If the report says the crawl stopped at the limit, no orphan page analysis has been done; read the findings as a sample taken from the site's first 100 URLs.
  2. Fix the errors. Open the "Broken internal links" and "Pages returning 4xx errors" rows. If the same target URL appears on dozens of source pages, the link is in a template: the menu, footer or sidebar.
  3. Clean up redirects. Replace the links in the "Internal links pointing to redirects" and "Internal links to HTTP" lists with their final URLs.
  4. Check the depth. In the "Click depth" card, most pages should be 1–3 clicks away. If the list of pages deeper than 3 clicks contains important URLs, link to them from category and hub pages.
  5. Strengthen pages with few links. Sort the "Crawled URLs" table by the "Inlinks" column. Pages that bring sales and traffic should be among those with the most links. The "Pages with only one internal link" and "Orphan pages" lists are your starting point; you can download the CSV file and compare it with your own traffic data.
  6. Review the templates one by one. Open the homepage, a category, a product and an article with Link analysis. Is the menu in the initial HTML, is the anchor text descriptive, are there nofollow or javascript: links?
  7. Compare with Search Console. The links report in Search Console lists the pages Google sees as having the most internal links. If your important pages sit near the bottom of that list, your link structure doesn't reflect your priorities.
  8. Crawl again and compare the CSV files of the two crawls.

Checklist

  • All navigation links are in the initial HTML and are <a href> elements with real URLs.
  • Anchor text describes the topic of the target page; icon and image links have a name.
  • Important pages are reachable within a few clicks of the homepage; pagination has numbered links.
  • Every important page receives links from several related pages; there are no orphan pages.
  • There's no nofollow on internal links; noindex is used on pages that shouldn't be in the index.
  • Internal links don't point to broken, redirected or http:// URLs.
  • A deliberate crawling and canonical decision has been made for filter and sorting URLs.

Frequently asked questions

What is an internal link and why does it matter?

It's a link from one page of your site to another page on your own site. Search engines find new pages largely by following internal links, understand the target page's topic from the anchor text and treat pages with many links as the site's important pages.

What is the maximum number of links a page should have?

Google doesn't set a strict limit. Still, hundreds of links reduce the weight of each one and make it harder for visitors to find the important ones. Link analysis flags pages with more than 300 links as a notice; simplify the menu and leave the detail to category pages.

What is an orphan page and how do you find one?

It's a page that is live but receives no links from any page on your site. After following every link on the site, the Site crawl lists URLs that are in the sitemap but receive no links from any page. Link to the ones you need from related pages and remove the unnecessary ones from the sitemap.

What is the maximum click depth?

Google doesn't publish a limit. Keeping important pages within three clicks of the homepage is a practical goal; Röntgen's site crawl also lists pages deeper than 3 clicks separately. Reduce depth with category, pagination and related content links.

Should I use nofollow on internal links?

No. Putting nofollow on links to your own pages weakens their discovery and doesn't keep them out of the index. Add noindex to the pages you don't want in search results and remove nofollow from the links.

Can a sitemap replace internal links?

No. A sitemap helps search engines find URLs, but it carries no anchor text and says nothing about a page's place or importance in the site. Use the sitemap as a complement to internal links; details in the XML sitemap guide.

Related guides and tools