Skip to main content
NewNMC’s advertising guidelines for doctors are in force from 6 Oct 2026. See what to change, and get a free compliance auditNew NMC advertising rules for doctors: what to change
SEO

Click Depth and Orphan Doctor Pages: A Link-Graph Audit for Hospital Sites

Measure crawl depth, inlinks and orphan pages on a hospital site by combining a crawl, the sitemap and Search Console. Includes classification tables and fix rules.

Click Depth and Orphan Doctor Pages: A Link-Graph Audit for Hospital Sites

This post is for the SEO or web lead at a hospital or multi-doctor practice who suspects that some doctor and procedure pages are hard to find, for users and for Google, and wants to measure it. It is a method for turning a site crawl, a sitemap and Search Console data into a clear picture of crawl depth and orphan pages, with decision rules for what to fix.

It is deliberately about measuring the link graph, not about writing more internal links by feel. Most hospital sites grow by adding: a new doctor here, a new department there, a campaign page for a health camp. Navigation changes slowly. Over three or four years, the result is that pages exist which the navigation does not reach, or reaches only through long chains of listing pages.

Internal links are how Google discovers pages on your site and how it understands their relative importance. Google's guidance on crawlable links says links need to be proper anchor elements with an href that Google can follow. If a page has no such link pointing to it from elsewhere on the site, only a sitemap or an external link can reveal it, and neither tells Google that your site considers the page important.

Definitions that keep the audit honest

  • Click depth is the minimum number of clicks from the home page to a URL, following crawlable links. The home page is depth 0.
  • Orphan page is a URL that exists and is live but has no internal links pointing to it from pages the crawler reaches. It might still be in the sitemap or receive visits from search.
  • Inlinks are links from other pages on your site to the URL. Unique inlinks counts each linking page once.
  • Link score is a figure some crawlers compute to approximate internal link authority. Treat it as a relative ranking within your site and not as a Google metric.

"Four clicks" is a rule of thumb used in this industry and it is not a Google requirement. It is a useful threshold for audit purposes because it is easy to communicate to a hospital committee: any important page should be reachable in four clicks or fewer. Adjust it if your site is small, in which case three is more sensible, or very large.

What you need before you start

  1. A full crawl from the home page, using a crawler that records depth and inlinks. Tools such as Screaming Frog and Sitebulb do both. Run it with JavaScript rendering on if your doctor directory loads cards dynamically, and run it once without rendering to see what a plain fetch sees.
  2. Your XML sitemap URLs, as a flat list.
  3. Search Console data, exported by page for the last 12 months, with impressions and clicks. Use the API or a connector if the interface export row limit is too small.
  4. Optionally, server logs for the same period, to see which URLs Googlebot actually requests.
  5. A page-type classification. At minimum: doctor profile, department, procedure or condition page, location, blog, utility. A simple URL pattern rule is enough.

Step 1: Build the depth histogram

From the crawl, export URL, crawl depth, inlinks, unique inlinks and indexability. Group by page type and count URLs at each depth. The result is a small table, for example:

Page typeDepth 1Depth 2Depth 3Depth 4Depth 5+
Department123000
Procedure04055208
Doctor profile05309060

These numbers are hypothetical, to show the shape. What matters in a real histogram is where the mass sits. A site whose doctor profiles cluster at depth 4 or 5 is usually reaching them only through a paginated directory.

Plot or tabulate the distribution per type. A long tail past depth 4 is the first finding. The second is any page type whose count at depth 1 and 2 is zero when you expect it to be prominent.

Step 2: Find the orphans

Compare three URL lists.

  • A: URLs found by the crawl (reachable by links).
  • B: URLs in the sitemap.
  • C: URLs with impressions in Search Console in the last 12 months.

Orphans are in B or C but not in A. Add log-file URLs as list D if you have them.

Classify each orphan:

In sitemapHas impressionsInterpretationTypical action
YesYesGoogle found and valued the page, but your site does not link to itAdd links from relevant hubs
YesNoPublished but never integratedDecide whether the page deserves to exist
NoYesReached by external links or old navigationAdd to sitemap and link in
NoNoProbably dead or accidentalRemove or redirect

A fifth category appears often on hospital sites: URLs that exist because of old campaign templates, such as a health-camp landing page from two years ago. These should be reviewed for retirement and not forced back into navigation.

Step 3: Weight by value

Not every orphan matters. Rank by business value, not by count. A suggested scoring approach:

  • Demand: impressions for the page, or for the target query if you have a keyword list.
  • Commercial value: page type. A page for a high-value procedure, a surgeon with a waiting list, or an international patient service outranks a staff announcement.
  • Clinical readiness: is the content reviewed and current? Linking to a weak page spreads attention to it. Fix first, then link.

Create a short list of the pages that rank high on value and low on link position. These are your opportunities.

Want this applied to your practice? Get a free seo audit.

Book my free audit

Step 4: Diagnose why pages are deep

Common causes on hospital sites:

  • Paginated doctor directories where profiles appear only on page 6 of a list, because ordering is alphabetical.
  • "Load more" buttons or infinite scroll that fetch results with JavaScript without a crawlable link or paginated URL. Google's guidance on JavaScript SEO and lazy-loaded content explains why content that needs interaction may not be seen.
  • Faceted navigation that creates many routes to a page but no short one.
  • Mega menus that render only on hover and are built with elements that are not links.
  • Department pages that list services in an accordion where the links load after a click.
  • Procedure pages linked only from the blog, because the service menu was never updated.
  • Footer links removed in a redesign, which silently drops dozens of pages by a level.

For each cause, the fix is structural. A list of 400 doctors in alphabetical pages is a bad link graph, no matter how neat it looks.

Step 5: Fix with intent

For each priority page, choose a link that is useful to a visitor. Search engines benefit from the same links that help patients.

  • From the department page to its main procedures and to the leading doctors in that department. A department with 30 doctors should still link to every one, either on the page or through a team page one click away.
  • From procedure pages to the doctors who perform them, and from doctors back to their procedures. Both directions reinforce each other.
  • From condition pages to the relevant procedure, rather than back to the home page.
  • From location pages to the doctors who consult at that location.
  • Through breadcrumb trails that expose the hierarchy as real links.
  • Through a crawlable pagination or "all doctors" index that links to every profile in few clicks, split by specialty.

Be wary of the opposite error: adding hundreds of links to a page, or filling the footer with a link to every doctor. Links should be there because a person might want them. Our guides to on-page SEO and provider page optimisation cover how pages should be organised once reachable.

Why this is separate from link building

External links bring authority into the site. Internal links decide where it flows once it arrives. If your outreach earns links to a few popular pages, the internal graph determines whether the surgeons and procedures you want to promote benefit. For acquiring links, see our posts on white-hat link building and link building strategies. This post assumes those links exist and asks what the site does with them.

It also matters more as search results change. When a growing share of queries are answered on the results page, as we describe in zero-click healthcare, the pages that remain worth visiting have to be easy for crawlers and for people to reach. The page that deserves a click should not be six levels deep.

Reading the results after changes

Click depth is a diagnosis, not a goal. After changes, check:

  1. A re-crawl to confirm depth reduced for the targeted pages and that no new orphans appeared.
  2. Search Console impressions and average position for the affected page group, compared over a matching period. Annotate the date of the change.
  3. Crawl stats and log data, if available, to see whether Googlebot requests the newly linked URLs more often.
  4. Page indexing report for URLs that were "discovered, currently not indexed" or "crawled, currently not indexed", which can be a symptom of weak internal signals.

Give changes several weeks before drawing conclusions, and avoid changing page content at the same time, so you can attribute any movement. Do not expect a promised uplift. The aim is to remove an obstacle, and the size of the effect depends on demand and competition.

Worked example, hypothetical

A 120-bed hospital in Lucknow has 180 doctor profiles. The crawl shows 95 of them at depth 5 or deeper, reached only through an alphabetical directory with 12 results per page. Twenty-two have impressions in Search Console but no internal links at all. They appear in the sitemap and were reached via an older "find a doctor" page that has since been removed from navigation.

Fixes: add a specialty-based doctor index (depth 2), link each specialty's doctors from the relevant department page (depth 3), and add procedure-to-doctor links where the doctor performs the procedure. After a re-crawl, no doctor is deeper than depth 3 and the orphans have at least two inlinks each.

Audit checklist

  • Crawl with and without JavaScript rendering.
  • Export depth, inlinks and unique inlinks.
  • Compare crawl, sitemap and Search Console URL sets to find orphans.
  • Classify orphans using the table above.
  • Rank by value and clinical readiness before linking.
  • Replace hidden or non-link navigation elements with real anchors.
  • Replace alphabetical directories with specialty-based hubs.
  • Re-crawl and compare the histogram after changes.
  • Add an orphan check to every site release.

A technical SEO audit usually includes this graph analysis alongside indexation and rendering checks.

Filed underorphan pages SEOcrawl depth auditclick depth SEOfind orphan pages Search Consolehospital website internal linking audit

About the author

Co-Founder & CTO · Gurugram, India

Arush builds the systems the rest of the company runs on — the patient-acquisition pipelines, the AI chatbots, the analytics that tie a single click to a booked appointment. If a campaign reports a number, it's because something his team built is tracking it.

Free guide · 17 pages

The Patient Acquisition Blueprint

A 90-day plan from first search to booked appointment.

The Pioneers Brief — one essay, three benchmarks, one teardown, every Thursday. Subscribe free →

Free seo audit

Your next chapter starts with a conversation.

Three quick questions. We come prepared with a plan for your specialty and city.

  • A 30-minute call with a healthcare specialist
  • Your top three growth opportunities, in writing
  • Honest advice — even if that means not hiring us
  • No obligation and no hard sell
You’ll speak with a senior strategist
Consultations are hosted by Arush Thapar’s team.
Step 1 of 3Takes 30 seconds

What do you want to improve first?

Details stay privateNo obligationReply within 1 working day

Client portfolio · Healthcare websites

Work relevant to click depth and orphan doctor pages a link graph audit for.

Explore client work →