WORDPRESS
One Broken External Link in 100 WordPress Posts: Build a Safe Fix List
One broken URL appears across dozens of WordPress posts? Find every source owner, review variants, and safely plan changes without bulk edits.
FREE WORDPRESS PLUGIN
Content Link Health Check
Find links in stored WordPress content, locate their source pages, and distinguish broken URLs from redirects or retryable responses.
- Install the link checker
- Scan stored post and page links
- Inspect the source and status
Read-only; no link repairs or page-builder HTML crawling. HTTP 403/429 may be temporary. The WordPress.org listing retains the original plugin URL.

One external resource is gone, and the same URL appears across dozens—or hundreds—of WordPress posts. How do you fix every relevant reference without replacing the wrong content? Treat this as a source-inventory and editorial decision job, not a one-click database substitution. Identify each independently editable owner, check how the link is used, choose the right destination, and verify every changed page.
This guide addresses the many-post problem: you already know the shared URL, and now need a scoped, auditable fix list. If you are still trying to find one post containing a broken outbound URL, read how to locate the first source post. If you are unsure whether your scanner covers Pages, public custom post types or rendered builder output, start with the WordPress link-scan coverage guide. Here, the objective is a reviewed target → every in-scope source owner → decision → verified fix ledger.
The short answer: never confuse one target with one edit
| Count or location | What it means | What it does not prove |
|---|---|---|
| 1 broken destination URL | A checker tested one normalized target | Only one post or one anchor needs editing |
| 100 referring posts | 100 distinct stored post owners may cite the target | Exactly 100 occurrences; one post can include the URL twice |
| 5 preview entries and “+N more” | The scanner is displaying a capped source preview | The five visible entries are the complete fix list |
| 100 rendered pages show the same link | Many pages expose the reference to readers | 100 individual editors own it; a single shared template may |
1. Define the scope before you promise a complete list
Write down the exact old URL, the date you observed its failure, and the site area under review. A defensible result might say: “All published Posts and Pages with an <a href> reference to this URL in stored post_content as of November 8, 2026.” That is narrower—and more verifiable—than “all links on the entire website.”
Decide whether the scope also includes public custom post types, unpublished drafts, ACF fields, Bricks or Elementor templates, WordPress navigation, reusable patterns, WooCommerce product excerpts and external content systems. These can render links without owning the ordinary article body. A checker that reads post_content cannot automatically inventory every template or metadata field. The official custom post type reference explains why public and searchable content types need to be considered deliberately.
Also preserve URL variants separately: http versus https, host aliases, trailing slash, percent-encoding, meaningful query parameters, fragments, and redirect URLs. Normalization helps deduplicate requests but may hide differences that matter to an editor. Do not assume every matching hostname represents the same citation or destination.
2. Validate the supposedly broken destination first
Before making a list of 100 edits, verify the exact old target from an ordinary browser and examine its first response and final destination where redirects occur. Not every non-200 result means the cited source was deleted.
| Observed result | Review decision | Next evidence |
|---|---|---|
| Consistent 404 or 410 | Likely missing resource; assess replacement or removal | Is there a genuinely equivalent new source? |
| 301 or 308 to the intended resource | Usually preserve a working citation; consider direct link update | Does the redirect actually land on the right content? |
| 302 or another temporary redirect | Review context, destination and whether the move is intentional | Is the final page stable and relevant? |
| 403, 429, timeout or 5xx | Investigate access control, throttling or a temporary failure | Repeat carefully from a legitimate context; avoid mass removal |
| 200 but unrelated homepage or wrong article | Do not call the citation healthy based on status alone | Compare content topic and editorial intent |
For uncertain HTTP 403, see why link checkers report false positives. For 301 redirects, use the source-link replacement decision guide. The Google Search Central redirect documentation explains permanent and temporary redirect signals, but editorial relevance still needs human review.
3. Use the existing WordPress link scanner—but understand the preview limit
ModelGain Content Link Health Check, a ModelGain WordPress diagnostic, can help confirm the known target and reveal candidate source posts. The current reviewed v0.1.1 scans HTTP/HTTPS anchor href links stored in published Posts, Pages and public custom post types, deduplicates checked destinations, and associates them with source records. The current results interface shows up to five source entries per checked URL plus a “+N more” indicator. Keep the administrator scan interface open while its bounded batches complete.
Do not stop at those five entries. A capped UI preview cannot certify that every relevant source has been reviewed, and the plugin does not supply a verified one-click export of an exhaustive edit list. It also does not inspect Bricks template metadata, ACF fields, menus, rendered page-builder output or arbitrary scripts. The tool checks links and stores diagnostic scan state locally; it does not edit your posts.
Use the result to verify the target status, normalized URL and visible owners. For a large collection, supplement it with a read-only WordPress content search, then inspect each candidate in the actual editor. Review the ModelGain product details and one-post source-finding walkthrough if you need the basic setup first. This article starts where that one-post tutorial stops.
4. Make an in-scope candidate inventory without rewriting the database
In WordPress Admin, search Posts and Pages for a distinctive fragment of the old URL. This is only a candidate list: WordPress search may match ordinary text, and a URL embedded in HTML attributes or encoded differently may not be found. Check each public custom post type separately if you included it in the audit scope.
With authorized WP-CLI access, you can start with a read-only search of the built-in public content types. Use a distinctive, nonsecret hostname or path fragment. The official WP-CLI post-list reference documents the --s, --search_columns, --post_type and output options:
wp post list --post_type=post,page --post_status=publish --s='docs.example.org/old-guide' --search_columns=post_content --fields=ID,post_type,post_title,url --format=csv
This command does not execute URL changes. Its output is an initial set of candidates, not an exact match of every href; WordPress full-text search processing can split, normalize or omit terms. Search additional URL variants, confirm the actual anchor in each candidate, and reconcile against the scanner’s visible references. If your project has more public custom post types, run the appropriate explicit post-type searches. Do not export private/draft content or sensitive query-string parameters to a third-party spreadsheet.
What counts as complete? A bounded inventory is complete only when all selected content types, relevant URL variants and shared template sources have been checked, every candidate has a confirmed owner, and open exceptions are explicitly marked. If you cannot access a full source list beyond the plugin’s preview or cannot inspect a builder’s metadata, mark coverage incomplete rather than claiming “100 of 100 repaired.”
5. Build the per-owner edit ledger
One broken target may appear more than once in the same post, and the same public page can inherit a shared footer link. Track the owner and each link location, not just the destination hostname. This sample illustrates what your worklist should contain.
| Owner | Original references | Context / action | Verification |
|---|---|---|---|
| Post #215 | 2 anchors in body, same exact URL | Both cite an older API guide; replace after validating the new guide | Not started |
| Page #48 | 1 link to a redirecting URL | Landing page remains relevant; decide whether direct link is useful | Needs review |
| Shared footer template | 1 template link rendered on 80 pages | One template owner; change in shared editor only after review | Needs owner confirmation |
| Post #330 | 1 broken citation, no equivalent source | Consider unlinking text or rewriting the claim, not inventing a substitute | Needs editorial judgment |
The record for each actual owner should include post ID/title, edit route, old URL and variants, occurrence count, anchor context, proposed final URL or removal, decision owner, pre-edit state, edit status, and the public-page recheck. Give a reviewed status to each line: verified replacement, keep as-is, remove/rewrite, or blocked by missing evidence.
One replacement URL may be appropriate for many identical citations, but not automatically every instance. A historical post documenting an old API behavior may need a note that the original document was retired; a current implementation tutorial may need the new API reference. Replacing both citations identically can misrepresent the historical material.
6. Separate a shared template from 100 independent posts
A link appearing in the footer of 100 public pages might come from a single navigation menu, widget, block pattern or page-builder template. Fix that one stored owner rather than editing 100 unrelated posts. Conversely, if 100 real Posts independently store the href, those are 100 distinct content decisions.

WordPress users have reported this confusion: a WordPress.org support thread about a shared theme widget traced an apparent many-page outgoing-link problem to a reusable theme element. Another broken-link tool review complained that scanning coverage was not clear for WooCommerce product content. These are individual reports, not independent estimates of how widespread any defect is. They show why a trustworthy audit needs a declared storage scope and an identified editor.
For links outside the normal post body, follow our published post-type and builder-coverage guide. Do not interpret zero results from a post_content scanner as evidence that the rendered site contains no such link.
7. Choose a fix strategy that protects the content
Recommended default: take a usable content/database recovery point, review a small representative group, edit in the correct WordPress editor, and verify those pages before enlarging the batch. For a small and context-dependent set of references, manual changes are often safer than database-wide replacement.
- Confirm the new resource exists. It must actually match the original citation’s purpose; a working unrelated homepage is not a valid substitute.
- Capture the source state. Preserve original
href, context and a revision/backup route for each owner. - Pilot one normal Post and one atypical Page/CPT. Check embedded links, blocks, editor previews and the public page.
- Apply only approved mappings. Different URLs or contexts can require different outcomes. Update a common template at its owner instead of patching each rendered appearance.
- Verify in small batches. Check the published source HTML, final target content, redirect outcome and any affected CTA or translated version; keep a failure list.
For a large verified one-to-one mapping in a controlled, backed-up environment, the official WP-CLI search-replace command supports --dry-run and targeted columns/tables. Use the dry run only as a potential change count, not a list of correct edits; it can find text occurrences that are not actual links. Serialized-data handling is not a guarantee of semantic safety in Gutenberg blocks or builder structures. Never run an unreviewed broad replacement in production or assume a matching text string is an appropriate new URL.
Other products may advertise direct replace, bulk edit or undo functions. Verify their scope, backups and permissions before adopting them: ModelGain Content Link Health Check is intentionally read-only on post content and cannot perform this step for you.
Decision helper: what exactly should you update?
This on-page checklist helps route the repair decision. It does not run WordPress commands, scan your site or change links.
Choose the next safe step for a shared broken URL
Applies when: The same potentially broken external target appears across many WordPress source posts or rendered pages.
Quick answer
First distinguish a broken target from a false positive, then inventory editable source owners rather than rendered appearances. Never replace all matching strings before verifying their contexts and a recovery path.
What to do
-
Confirm first response and final content. Treat 403/429/timeouts as uncertain before removing citations.
-
Review source-post scan results, complete the capped preview using independent read-only content search, and inspect shared templates separately.
-
Choose context-specific replacements, take a recovery point, edit small batches, recheck each public page, and track unresolved coverage gaps.
Which source pattern matches your website?
All paths are listed below. Select a symptom to focus on the most relevant path.
Did this help?
8. Reconcile the worklist and retest the published pages
After each batch, return to the owner ledger. Compare the pre-edit number of confirmed owner records and href occurrences against the new observed state. Re-scan with the same declared coverage and audit time, then manually check the rendered target locations that a stored-content scanner cannot see.
Mark each original reference as fixed, deliberately retained, intentionally removed, or unresolved. Do not silently drop unresolved entries because the checker can no longer see them. Sample the ordinary public version of each affected page rather than an authenticated editor preview. The right completion statement is “all 86 verified in-scope owners reviewed; 81 edited, 3 retained, 2 unresolved,” not “the plugin now says zero broken links.” Those numbers are examples, not actual results.
When the broken reference is on your own domain after a move, see the separate WordPress post-migration internal-links guide. Permanent redirects may preserve external visits, but owned internal links should generally point to the correct final destination when practical. The WordPress migration documentation also warns against careless database replacements involving stored structures and URLs.
Where ModelGain Content Link Health Check helps
ModelGain Content Link Health Check is a useful first diagnostic pass for the stored-content portion of this workflow: discover the shared target, check its first-hop status and inspect its known source references. The public WordPress.org listing is ModelGain Content Link Health Check. It does not replace links, update 100 posts, export every owner from the five-source preview, or crawl arbitrary templates and custom fields.
Use it to identify the initial problem, combine its signals with a scoped content search and source-owner verification, then make any approved updates in the appropriate editors. This separates automated detection from editorial change control. For other site maintenance tools, see the ModelGain WordPress catalog.
Frequently asked questions
Can I replace one external URL across every WordPress post in one click?
Some tools support bulk replacement, but that does not mean a global text substitution is correct. The same URL can represent different historical citations, text, embeds or structured fields. Review affected owners and replacements first, establish backups and run a small verified pilot.
Why does my link checker show only five posts if the URL appears in more?
ModelGain Content Link Health Check v0.1.1 caps its visible source preview at five entries and reports additional references with a +N indicator. This is an interface limit, not proof that only five posts use the URL. Use other bounded, read-only content searches for a fuller in-scope list.
How do I know the list is complete?
Define the content types, publication states, URL variants and templates in scope; inspect every matching owner and unresolved exception. A scanner that does not cover menus, drafts or builder metadata cannot certify those areas, so document the remaining gaps explicitly.
Should I remove all links returning 403 or 429?
No. Those may reflect access restrictions or rate limits rather than removed content. Recheck from an appropriate context, classify actual target behavior and decide whether a relevant replacement exists before editing.
Should I rely on 301 redirects forever?
Keep justified historical redirects for bookmarks and backlinks, but evaluate whether controlled internal links can point directly to a current, appropriate destination. External citations may still need editorial review if the redirect leads to the wrong resource.
Authoritative references and related ModelGain guides
- WP-CLI: read-only post list, content search and output fields
- WP-CLI: dry-run, targeted tables and replacement limits
- WordPress: WP_Query filtering and search behavior
- WordPress: block markup and stored content structure
- WordPress: database backup before destructive editing
- Google Search Central: redirects and destination context
- WordPress.org community: uncertainty about scanner coverage
- WordPress.org support: repeated outgoing link owned by a theme widget
- Find which WordPress post contains one broken outbound URL
- Check WordPress links across Pages and public custom post types
- Find post-migration internal-link owners
Bottom line: find all editable owners in a declared scope, inspect every actual reference, make context-appropriate decisions, and verify changed public pages. One broken target is a shared detection problem; many post edits are separate, reviewable content decisions.