Orphan Pages: How to Find and Fix Pages Nothing Links To

An orphan page is a page on your site that no other page links to. Visitors cannot click their way to it, and search engines may only find it through your sitemap, if at all. To find orphans, compare the list of URLs in your sitemap with the list of URLs your pages actually link to.

What to do with each kind of orphan
Kind of pageUsual fix
Useful page you forgot to linkLink it from a related page or your menu
Old campaign or landing pageRedirect it to the closest live page, or leave it out of the sitemap
Duplicate of another pageMerge the content and redirect the copy
Thank-you or account pageFine to keep unlinked; leave it out of the sitemap

Updated

Orphans usually appear after a redesign, a menu change or a deleted blog category. The checker below needs two lists you can export from almost any crawler or site builder: every URL in your sitemap, and every URL your pages link to. Everything runs in your browser and nothing is uploaded.

Orphan page checker

URLs in your sitemap (one per line)

https://example.com/
https://example.com/services/
https://example.com/services/roof-repair
https://example.com/services/gutter-cleaning
https://example.com/about
https://example.com/spring-offer-2025
https://example.com/contact

URLs your pages link to (one per line)

https://example.com/
https://example.com/services
https://example.com/services/roof-repair
https://example.com/about#team
https://example.com/contact
https://example.com/blog/how-long-does-a-roof-last

2 orphan pages found out of 7 sitemap URLs.

In the sitemap, but nothing links here

  • https://example.com/services/gutter-cleaning
  • https://example.com/spring-offer-2025

Linked, but missing from the sitemap

  • https://example.com/blog/how-long-does-a-roof-last

Copy orphan list

Where to get each list

Sources for the two lists
ListWhere it comes fromWatch out for
Sitemap URLsyoursite.com/sitemap.xml, or the sitemap index it points toIndex files list other sitemaps, open each one
Linked URLsA crawl export of internal link targetsStart the crawl at the home page only
Pages with trafficSearch Console Performance report, Pages tabUseful extra check for orphans that still earn clicks

Do it in a terminal instead

Compare two saved lists with comm

Save each list to a text file, sort both, and comm -23 prints lines found only in the first file: your orphans.

sort -u sitemap-urls.txt > a.txt
sort -u linked-urls.txt > b.txt
comm -23 a.txt b.txt > orphans.txt
wc -l orphans.txt

A link crawlers can follow

The first link uses an a element with an href, so it can be crawled. The second only works with a click handler, so a crawler may never reach the page.

<!-- crawlable -->
<a href="/services/gutter-cleaning">Gutter cleaning</a>

<!-- not a crawlable link -->
<span onclick="location.href='/services/gutter-cleaning'">Gutter cleaning</span>

Why orphans happen on small sites

Most site builders add new pages to the sitemap automatically but leave the menu to you. Publish a service page, forget to add it to the menu or any other page, and it becomes an orphan the same minute.

Store owners see the same thing with products that left every collection, and bloggers with posts whose only category was renamed.

Choosing where to add the link

Pick the page a visitor would be reading just before they need the orphan. A pricing page might link to a refund policy, a service page to its case study. Use words that describe the target, because Google asks for anchor text that is descriptive, reasonably concise and relevant.

How it works

  1. Open your sitemap.xml in a browser and copy the page addresses, one per line, into the first box.
  2. Run a crawl of your site with any link crawler, export the list of internal links it found, and paste the target URLs into the second box.
  3. The checker tidies both lists (lower-case host, no trailing slash, no #fragment) and compares them.
  4. Pages in the sitemap that no link points to are your orphans. Pages linked but missing from the sitemap are listed too.

Tips

  • Start the crawl from your home page, not from the sitemap, otherwise the crawler will find the orphans through the sitemap and hide them from you.
  • Strip tracking parameters such as utm_source before pasting, so the same page is not counted twice.
  • A page linked only from another orphan is still hard to reach. Fix the top of the chain first.
  • Re-run the comparison after each menu or category change, since that is when pages most often lose their only link.

Frequently asked questions

Are orphan pages bad for SEO?

They are a missed chance rather than a penalty. Google's link guidance says every page you care about should have a link from at least one other page on your site. A page with no links gets no context from anchor text and depends on the sitemap to be discovered.

Will a sitemap alone get an orphan page indexed?

Not reliably. Google says a sitemap helps search engines discover URLs but does not guarantee that everything in it will be crawled and indexed. An internal link from a relevant page is a much stronger hint that the page matters.

Does a link inside a button or script count?

Google states it can only crawl your link if it is an a element with an href attribute. A menu that moves people with a click handler and no href can leave pages orphaned for crawlers even though people can reach them.

Should I delete orphan pages?

Only when the page has no value. If it gets traffic or holds useful content, link to it. If it duplicates another page, merge and redirect. Deleting a page that other sites link to throws away those links.

Related: Sitemap checker, Sitemap and robots.txt examples, XML sitemap generator, On-page SEO checklist, Google Search Console guide.

Build your site free or see all free tools. On We.Inc you can build your site free, with no card and no trial needed to start. AI building is on paid plans from $19 a month.

More in Guides

Product

Who It's For

Features

Resources

Company

View Sitemap