How to Fix Orphan Pages That Only Exist in Your Sitemap

An orphan page is a URL listed in your XML sitemap that no crawlable page on your site links to. Search engines can still discover it, but they get almost no signal that it matters. By the end of this guide you will have a list of every orphan, a decision for each one, and either internal links pointing to it or a clean removal from the site and sitemap.

By Updated ⏱ 1–3 hours depending on the number of orphans🎯 Intermediate● High impactOn-Page
Illustration: Orphan pages fix guide
ON-PAGE · FIX GUIDE Orphan pages IMPACTEFFORT TIME1–3 hours depending on the number of orphans LEVELIntermediate

Why it matters

Internal links are how Google and Bing judge which pages matter and what they are about. A page with zero inlinks gets no link equity and no anchor-text context, so it is crawled less often and usually ranks poorly, even if the content is good. AI answer engines and crawlers that follow links rather than sitemaps may never find it.

Visitors can't reach it either, so it earns no engagement. Orphans also tend to be leftovers such as old campaign landers, test pages or discontinued products, which waste crawl budget and can surface outdated information. This audit fails when 15% or more of your pages are orphaned, but a single orphaned money page is still worth fixing.

✕Beforehttps://example.com/guides/pricing-calculator/is listed in sitemap.xml, but no page✓AfterThe pricing calculator is linked fromthe main nav under Resources, from the/pricing/ hub and from 3 related

What you need

The orphan URL list from your audit report, or a crawler that compares crawls against sitemaps (e.g. Screaming Frog SEO Spider)
Admin access to your CMS menus, templates and page editor
Access to your XML sitemap settings or generator
Permission to create 301 redirects or delete pages

Step-by-step fix

1

Export the full list of orphan URLs

Start from the URLs flagged in your audit: these are pages in your sitemap that no crawled page links to. To rebuild the list yourself in Screaming Frog, go to Configuration > Spider > Crawl, tick Crawl Linked XML Sitemaps and add your sitemap URL. After the crawl, run Crawl Analysis > Start, then open the Sitemaps tab and filter by Orphan URLs.

Export it to a spreadsheet with columns for URL, page type, organic traffic and backlinks.

text
curl -s https://example.com/sitemap.xml | grep -oE '<loc>[^<]+</loc>' | sed -E 's#</?loc>##g' | sort -u > sitemap-urls.txt
# crawled-urls.txt = one URL per line exported from your crawler (internal HTML, linked pages only)
sort -u crawled-urls.txt > crawled-sorted.txt
comm -23 sitemap-urls.txt crawled-sorted.txt > orphans.txt
Pro tip: If you have a sitemap index, run the curl command against each child sitemap. The index itself only lists other sitemaps.
2

Decide keep, merge or remove for each URL

Add a Decision column and pull 12 months of clicks from Google Search Console (Performance > Search results > Pages) and referring domains from your backlink tool. Then apply simple rules:

  • Keep and link: current, useful pages, or pages with traffic or backlinks.
  • Merge and 301: thin or duplicate pages that overlap a stronger URL.
  • Remove (410 or 404): test pages, expired campaigns and discontinued items with no links and no traffic.
  • Keep but unlist: pages that must exist but shouldn't be in search, such as thank-you pages or gated downloads. Take them out of the sitemap and add noindex.
Pro tip: Sort by backlinks first. An orphan with external links is passing equity into a dead end, and linking it internally recovers that value fastest.
3

Link kept pages from navigation or hub pages

Each kept page needs at least one link from a page the crawler already reaches, ideally a hub one or two clicks from the homepage. Add evergreen, high-value pages to the main menu, footer or a category or collection page. For groups of related orphans, such as old guides, build or extend a hub page (for example /guides/) that lists them with descriptive anchor text.

Use plain <a href> links, because crawlers do not click buttons or run onclick handlers.

html
<!-- On https://example.com/guides/ (hub page) -->
<section>
  <h2>Pricing and budgeting</h2>
  <ul>
    <li><a href="/guides/pricing-calculator/">Project pricing calculator</a></li>
    <li><a href="/guides/annual-vs-monthly-billing/">Annual vs monthly billing explained</a></li>
  </ul>
</section>
Pro tip: Avoid adding rel="nofollow" to internal links. It throws away the signal you are trying to create.
4

Add contextual links from related content

Find 2–3 existing pages on the same topic and link to the orphan from inside the body copy. com "pricing calculator"` in Google or use your CMS search. Use anchor text that describes the target page, not "click here".

Where your templates support it, add a related-articles block so new posts don't become orphans later.

html
<aside class="related">
  <h3>Related guides</h3>
  <a href="/guides/pricing-calculator/">Estimate your project cost with the pricing calculator</a>
</aside>
Pro tip: Links from pages that already get organic traffic help most, because Google recrawls them more often.
5

Redirect or remove pages you are not keeping

For merged pages, add a 301 redirect to the closest equivalent URL. For pages you are retiring, return 410 Gone, or 404 if your platform can't send 410. Redirecting everything to the homepage is treated as a soft 404 and passes no value.

Then update any external campaigns or emails that still point to the old URLs.

nginx
# Nginx: inside the server block for example.com
location = /promo/spring-2023/ { return 301 /offers/; }
location = /test-landing-page/ { return 410; }
Pro tip: On Apache, the equivalent lines in .htaccess are: Redirect 301 /promo/spring-2023/ /offers/ and Redirect gone /test-landing-page/
6

Clean the XML sitemap

Your sitemap should only list canonical, indexable URLs that return 200 and that you link to internally. Remove redirected, deleted and noindexed URLs. If a plugin or platform generates the sitemap automatically, exclude those URLs in its settings instead of editing the file by hand.

Then resubmit the sitemap in Google Search Console under Indexing > Sitemaps and in Bing Webmaster Tools under Sitemaps.

html
<url>
  <loc>https://example.com/guides/pricing-calculator/</loc>
  <lastmod>2026-01-15</lastmod>
</url>
Pro tip: Check that the new linking pages are not blocked in robots.txt and are not noindexed themselves. A link on a page the crawler can't reach doesn't count.
7

Re-crawl and confirm the inlinks

Run the audit or your crawler again, with sitemap crawling enabled. Every page you kept should now be reached through links, show at least one inlink, and drop off the orphan list. Overall, orphans should be well under 15% of crawled pages, and ideally zero.

For important pages, use URL Inspection in Search Console and click Request indexing.

Pro tip: Schedule this check monthly. Orphans come back whenever content is unpublished from menus, collections are restructured or campaigns end.

Platform-specific notes

WordPress

Add menu links in **Appearance > Menus**. On block themes, open **Appearance > Editor > Navigation** instead. Yoast SEO Premium has an **Orphaned content** filter in the Posts and Pages lists, and Rank Math shows inbound link counts in its Link Counter columns. Yoast and Rank Math add every published post to the sitemap, including tag and attachment archives, so exclude unwanted URLs by setting them to noindex in the post's SEO settings.

Shopify

Products that are not in any collection and not linked from a menu are the most common orphans, yet they still appear in /sitemap.xml. Add them to a collection that appears in navigation. Edit menus under **Content > Menus** (formerly **Online Store > Navigation**) and create redirects under **URL Redirects** in the same area. To hide a product completely, remove the **Online Store** sales channel from it or set it to Draft.

Wix

Pages hidden from the site menu still appear in the sitemap if they are indexable. Either link them from a visible page, or open the page's **SEO basics** settings and turn off **Let search engines index this page**, which also removes it from the sitemap. Add redirects in **Settings > SEO > URL Redirect Manager**.

Webflow

Each CMS item gets its own page, but it is only linked if a Collection List on some page displays it. Add a Collection List, filtered by category if needed, to a hub page. Exclude unwanted static pages in **Page settings > SEO** with the sitemap indexing toggle, and set up 301s in **Site settings > Publishing > 301 redirects**.

Next.js

A sitemap generated in app/sitemap.ts from your database or CMS will list every record, linked or not, so filter it to published, linked entries. Use next/link, which renders a real `<a href>`, for internal links. Navigation done only through `router.push()` inside onClick handlers is invisible to crawlers.

Check that it worked

✅ How to verify

  • Re-run the audit and confirm that the orphan check passes and that each kept URL now has at least one internal inlink.
  • In Screaming Frog, open a fixed URL, check the **Inlinks** tab in the lower pane for linking pages, and confirm that **Sitemaps > Orphan URLs** is empty or contains only intentional exceptions.
  • Use Search Console **URL Inspection > Test live URL** on the linking pages and check that the new `<a href>` appears in the rendered HTML.
  • After 2–4 weeks, check Search Console **Links > Internal links** to confirm Google sees the new internal links to your key pages.

⚠️ Common mistakes

  • Adding links with JavaScript onclick handlers, inside forms, or only in a search widget. Crawlers need a plain `<a href>` in the HTML.
  • Linking orphans only from other orphans or from noindexed pages. The link has to come from a page the crawler actually reaches.
  • Redirecting all retired orphans to the homepage. Google treats these as soft 404s, so redirect to a close equivalent or return 410.
  • Fixing the links but leaving deleted or redirected URLs in the sitemap, which creates new errors and keeps the list noisy.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

What is an orphan page in SEO?

An orphan page is a URL that exists, often listed in the XML sitemap, but has no internal links from any other page on the site. Search engines can find it through the sitemap, but they get no link signals about its importance or topic, and visitors can't navigate to it.

Will Google index a page that is only in the sitemap?

Sometimes, but it is often crawled less, ranked lower, or left as "Discovered – currently not indexed" in Search Console. A sitemap is a discovery hint. Internal links are what signal that a page matters.

How many internal links does a page need to not be an orphan?

One link from a crawlable, indexable page removes the orphan status. Important pages should get several contextual links plus a link from a hub or navigation page, ideally within three clicks of the homepage.

Should I delete orphan pages or noindex them?

Delete them (410) or 301-redirect them if they are outdated or duplicate. Use noindex and remove them from the sitemap only for pages that must stay live for users but shouldn't rank, such as thank-you or confirmation pages. Link and keep anything with traffic, backlinks or current value.