In short
An orphan page exists and responds, but no other page on the site links to it with a crawlable link. Visitors cannot reach it by browsing, and bots only find it through the sitemap, an external link or an old memory of it. To detect orphan pages, you compare the list of pages found by following links (the crawl) with the list of pages known from other sources: sitemap, CMS, Search Console, Analytics. Each gap is then linked, redirected or removed.
Why it matters
Google puts it simply in its link best practices: every page you care about should receive at least one link from another page on the site. It also states that it estimates a page's relative importance partly from the number of internal links pointing to it. An orphan page receives none.
It can still be indexed, if it is in the sitemap or receives external links, but it starts at a disadvantage: slower discovery, rare recrawls, no context provided by anchor text, no visitors coming from the navigation.
Orphan pages almost always come from the same causes:
- a page removed from the menu during a redesign, but not deleted;
- campaign landing pages published outside the navigation;
- products taken out of every category, or filed in a disabled category;
- links replaced by JavaScript links that bots do not follow;
- forgotten test pages, duplicates or old versions.
The last two categories are also a quality problem: weak or duplicate pages, accessible to bots, that nobody maintains.
On the generative engine side, AI assistants' crawlers also discover pages through links and sitemaps. A useful but orphaned page is unlikely to be found and cited; an outdated orphan page, on the other hand, may be picked up with stale information.
What it improves
- Indexing Useful pages, once linked, are discovered and recrawled more regularly.
- Rankings Linked pages receive context and internal link equity. An indirect effect.
- Overall quality Outdated, test or duplicate pages leave the site.
- Crawling Fewer useless URLs to crawl on large sites.
- Conversion Forgotten offer pages become accessible to visitors again.
- Accuracy in AI answers Fewer outdated pages freely accessible. A plausible effect, not proven.
How to check
The principle is always the same: A, the list of URLs found by following links from the home page; B, the list of URLs known from another source. URLs in B that are missing from A are orphans.
Quick check on a suspicious page: look for its URL in your crawler's internal links export (Inlinks tab in Screaming Frog). No inbound links apart from the sitemap: it is an orphan.
Search Console has no “orphan pages” report. The Links report lists the most-linked pages internally, based on a sample; a page missing from that table is not necessarily an orphan, but an important page that does not appear in it deserves a check.
How to implement
Step 1 — Get list A from the crawl
Crawl the site from the home page with a crawler that follows <a href> links: Screaming Frog (free up to 500 URLs), Sitebulb, the Semrush, Ahrefs or SE Ranking site audit, or the free script from the guide limit the click depth of strategic pages (opens in a new tab). Export the HTML URLs that return a 200.
Turn off JavaScript execution for a first pass: you will see what a bot that does not render pages sees. A second pass with JavaScript rendering, if your tool allows it, shows the pages linked only by links injected with JavaScript.
Step 2 — Get list B from the other sources
Combine as many sources as possible:
XML sitemap. This command retrieves all URLs from a sitemap or a sitemap index, including compressed sitemaps:
SITEMAP="https://example.com/sitemap.xml"
curl -s "$SITEMAP" | gzip -dcf | grep -o '<loc>[^<]*' | sed -e 's/<loc>//' -e 's/&/\&/g' |
while read -r loc; do
case "$loc" in
*.xml*) curl -s "$loc" | gzip -dcf | grep -o '<loc>[^<]*' | sed -e 's/<loc>//' -e 's/&/\&/g' ;;
*) echo "$loc" ;;
esac
done | sort -u > urls-sitemap.txt
CMS. The list of everything published, including what the sitemap leaves out:
- WordPress, with WP-CLI:
wp post list --post_type=post,page --post_status=publish --field=url > urls-cms.txt. Add your custom post types (productfor WooCommerce). - Shopify:
Products > Exportgives the handles; prefix them withhttps://example.com/products/. - PrestaShop, Magento, Drupal: export the catalog or the content from the admin, or query the database.
Search Console. Performance report, Pages tab, over 16 months, then Export. The interface limits the export to 1,000 rows: beyond that, use Looker Studio, the API or the bulk data export to BigQuery.
Google Analytics. Reports > Engagement > Pages and screens, page path dimension, over twelve months. Add the domain in front of each path.
Server logs. URLs requested by Googlebot or Bingbot but never found by the crawl. See analyze server logs (opens in a new tab).
Step 3 — Compare
First normalize the URLs in both lists: same protocol, same host, same handling of the trailing slash. Otherwise, every URL will look like an orphan.
On the command line, with the crawl list in urls-crawl.txt:
sort -u urls-crawl.txt > a.txt
cat urls-sitemap.txt urls-cms.txt | sort -u > b.txt
comm -13 a.txt b.txt > orphelines.txt
wc -l orphelines.txt
In a spreadsheet, paste list A into a Crawl tab, each source into its own tab (Sitemap, GSC, GA4, CMS, URLs in column A), then the deduplicated list of all sources into a Comparaison tab:
Orphan (A2 = URL from the deduplicated list):
=IF(COUNTIF(Crawl!$A:$A,A2)=0,"Orphan","")
Number of sources that know the URL:
=COUNTIF(Sitemap!$A:$A,A2)+COUNTIF(GSC!$A:$A,A2)+COUNTIF(GA4!$A:$A,A2)+COUNTIF(CMS!$A:$A,A2)
In a French-language Excel, the functions are called SI and NB.SI.
With Screaming Frog, paid license
The paid version automates the comparison:
Configuration > Spider > Crawl: tick “Crawl Linked XML Sitemaps” and, if needed, enter the sitemap URL.Configuration > API Access: connect Google Search Console and Google Analytics 4, and in each connection enable the option to crawl newly discovered URLs.- Start the crawl, then run
Crawl Analysis > Startat the end: the orphan filters stay empty until this analysis has run. - Check the “Orphan URLs” filter in the
Sitemaps,AnalyticsandSearch Consoletabs. In theInternaltab, URLs with no value inCrawl Depthwere not found through any link.
With Sitebulb, Semrush, Ahrefs or SE Ranking
These tools flag orphan pages when you add URL sources to the audit: sitemaps, Google Analytics, Search Console or a URL list. In Sitebulb, the results appear in the “Crawler - Missing” segment of the URL sources chart and in the URL explorer (“Orphaned” filter). In the others, look for an “orphan page” or “pages with no incoming internal links” check in the audit report; it only appears if a source other than the crawl is configured.
Step 4 — Decide for each page
| Situation | Decision |
|---|---|
| Useful, up-to-date page that answers a real search | Link it from its section, its pillar page or a neighboring page |
| Useful page but a duplicate of another | 301 redirect to the main page |
| Outdated page with an up-to-date equivalent | 301 redirect to the equivalent |
| Outdated page with no equivalent, no traffic and no external link | Remove it and return a 410 or 404 |
| Paid campaign landing page | Keep it outside the navigation, set to noindex, and out of the sitemap |
| Test, old-version or staging page | Remove it, or protect it with authentication |
| Product page without a category | Assign it to an active category |
Before removing a page, look at its external links (Search Console Links report, or Ahrefs, Semrush, Majestic): an orphan page that receives links from other sites deserves a redirect. See return 404/410 for removed content with no equivalent (opens in a new tab).
Step 5 — Fix the causes, not just the pages
- JavaScript navigation: if some pages are only linked by clickable elements without an
href, fix the component. See use crawlable HTML links (opens in a new tab). - Disabled categories: on PrestaShop and Magento, an inactive category or one excluded from the menu orphans all its products that have no other category.
- Automatic blocks: an “In the same section” or “Related articles” block, generated on the server side, links each new page as soon as it is published.
- Publishing procedure: add “at least one link from an existing page” to the go-live checklist.
Then run the crawl and the comparison again. Schedule them every quarter, or every month on a fast-changing catalog. See schedule automated crawls (opens in a new tab).
Tip: a page that appears only in Search Console or Analytics, neither in the sitemap nor in the CMS, is often an old URL that still gets visits. Check its response code first: if it already redirects, it is not an orphan.
Common mistakes
- Comparing URLs that are not normalized:
http://versushttps://, or a trailing slash on one side only, and every page looks like an orphan. - Generating the sitemap with the crawler itself: it then only contains pages already found through links and reveals no orphans.
- Believing a page is linked because it is in the sitemap: the sitemap is not an internal link.
- Linking an orphan only from the HTML sitemap: it is a link, but a weak one with no context. Add a link from a page in the same section.
- Removing pages without looking at external links or traffic: you lose inbound links and visitors.
- Forgetting pages linked only through JavaScript: they are orphans for every bot that does not run scripts.
- Setting
noindexon a page that should have been linked: you hide the symptom and lose the page.
Frequently asked questions
Can Google index an orphan page?
Yes, an orphan page can be indexed if Google discovers it another way: XML sitemap, external link or a past crawl. It remains at a disadvantage, because no internal link gives it context or relative importance, and it is recrawled less often. Google recommends that every page you care about receive at least one link from another page on the site. Linking the page remains the only lasting fix.
Is it enough to add an orphan page to the sitemap?
No. The XML sitemap helps search engines discover the URL, but it is not an internal link: it creates no path for visitors and provides no context through anchor text. A useful page must be linked from at least one relevant page on the site, ideally its section or a closely related page. The sitemap complements internal linking; it does not replace it.
How can you find orphan pages for free?
Crawl the site with the free version of Screaming Frog, limited to 500 URLs, or with a crawl script, then export the URLs found through links. Next, collect the URLs from the XML sitemap, the CMS and the Search Console and Google Analytics exports. URLs known from these sources but missing from the crawl are orphans. Normalize the URLs before comparing them, or the result will be skewed.
Should you remove all orphan pages?
No, each orphan page calls for a decision. A useful, up-to-date page should be linked from its section. A duplicate or an outdated page with an equivalent gets a 301 redirect. An outdated page with no equivalent, no traffic and no external links can be removed with a 410 or 404 code. Campaign landing pages can stay outside the navigation, set to noindex and out of the sitemap.
Resources
- Google Search Central: Link best practicesdevelopers.google.com
- Google Search Central: Help Google understand your e-commerce site structuredevelopers.google.com
- Search Console Help: Links reportsupport.google.com
- Screaming Frog: Search Console orphan URLsscreamingfrog.co.uk
- Sitebulb: how to find orphan pagessupport.sitebulb.com
- WP-CLI: wp post list commanddeveloper.wordpress.org
Updated on
Topic checklist (PDF)