Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared Managed Cloud India
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Best lists Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

SEO & AI search · Guide

How to Find Broken Links in WordPress

Short answer

To find broken links in WordPress, install a plugin such as Check for Broken Links or Rotbane, run a scan, and work through the report it gives you. You can also check single pages with the free W3C Link Checker, or find the broken URLs Google sees in Search Console under Pages and the crawl reports.

Key takeaways

  • A broken link points to a page or file that no longer exists, and usually ends in a 404 error.
  • A few 404s will not hurt your rankings, but a broken link on a popular page still loses visitors.
  • Check for Broken Links and Rotbane scan your whole site from the dashboard; the W3C Link Checker tests one page at a time for free.
  • Fix a broken link by updating it, pointing it at a close replacement, or adding a 301 redirect.
  • Check a small site monthly and a large site weekly, with a full scan after every migration or redesign.

A broken link is a link that points to a page or file that no longer exists, so clicking it leads to an error instead of content.

The most common result is a 404 error, which means the server cannot find the page at that address. A link can also break when a site moves, a page is deleted, a URL is typed wrong, or a linked site shuts down.

Broken links come in two kinds. Internal links point to pages on your own site, and external links point to other sites. Both need checking, since you control only the internal ones directly.

A link that redirects to a new address is not broken, but it still deserves a look. Too many redirects in a row slow the page down and can fail, so a redirect is a warning sign rather than a clean bill of health.

Broken links frustrate visitors and waste the trust a page has built, so they are worth fixing even though a few 404s will not sink your rankings.

A visitor who clicks a link and lands on an error page is likely to leave. If that link sat in the middle of a guide, the visitor loses the thread and may not come back. On a shop, a broken link on a product or checkout page can cost a sale outright.

Search engines see it differently. Google's Search Console help on 404 errors says that 404 errors generally will not hurt your site's search performance, and you can safely ignore them if the URLs should not exist. A 404 alone does not drag down your other pages.

The real cost is the lost traffic. A broken link sends no visitors and no ranking signals anywhere, so a popular page that 404s is a leak in your site. Fix the links that matter, and leave the harmless ones alone.

Install a broken link checker plugin, run a scan from your dashboard, and work through the list of dead links it reports.

Check for Broken Links scans posts, pages, comments and media files, and shows each broken link with its HTTP status code and the exact page it sits on.

The free version runs manual scans and exports the report as a CSV file. The Pro version adds scheduled scans and email alerts from $49 a year.

Rotbane is a free alternative that scans posts, pages, menus, widgets and comments, and reports broken links, 404s, soft 404s, redirects and missing anchors. Its WordPress.org page notes that it needs no account and sets no limit on links, since every check runs on your own server.

A third option is Dead Link Checker, which scans your content in small batches so the server stays fast for visitors. Its free version covers posts and pages, while Pro adds custom post types, comments, menus, widgets and custom fields.

Run the scan when traffic is low, since checking hundreds of links takes server time. Then sort the results by status code and fix the 404s first.

Paste a page address into the free W3C Link Checker, and it will test every link, anchor and file that page points to.

The W3C Link Checker checks links, anchors and referenced objects in a web page or stylesheet, and can check a whole site by following links from page to page. It needs no install and no account, which makes it a good choice for a quick check of one page.

Its report lists each link with the status it returned, so you can see which ones failed and why. A 404 means the page is gone, a 403 means access is refused, and a timeout means the server did not answer at all.

Online checkers cannot see pages behind a login, drafts or private content. For those, a plugin that runs inside WordPress is the better tool, since it reads the same content your editor sees.

Open Google Search Console, go to the Pages report, and look for URLs marked as errors, then check which of your pages link to them.

Search Console shows the broken URLs that Googlebot met while crawling your site. Its help page on 404 errors says these errors should drop from the report after about a month once the URL is fixed or the page is gone for good.

The report also tells you where Google found each URL, which is often a page on your own site that still links to it. Fix the link at its source, not just the broken address, or the error will keep coming back.

If a broken URL was submitted for indexing, it is worth fixing first. Google's help page says to inspect the URL, check where it was submitted from, and update the sitemap if needed. Our 404 causes guide explains the usual reasons a page returns a 404.

Open the page that holds the link, then update it to the right address, point it at a close replacement, or remove it.

Start with the simplest fix. If the page moved, change the link to the new address.

If you typed the URL wrong, correct the spelling. Small fixes like these clear most of the list.

If the target page is gone and nothing replaces it, remove the link or point it at the nearest useful page. Do not send every dead link to your homepage, since that only moves the frustration one click further.

For links that break because a URL changed, a 301 redirect is often the better fix. It sends visitors and search engines to the new address without editing every page that links to it.

Our Yoast redirects guide shows how to add one.

Our too many redirects guide explains how to keep redirects from chaining.

After each fix, re-check the link by clicking it. A plugin report can go stale fast, and the only proof a link works is a page that loads.

Export a full list of broken links after the move, then fix the old URLs in bulk with redirects before you touch single links.

A migration breaks links in two ways. Internal links may still point at the old domain or the old URL structure, and external sites may still link to addresses that no longer exist. Our fix broken links after migration guide walks through the whole cleanup.

The Redirection plugin helps here: it tracks every 404 error on your site, groups them so you can see where to focus, and lets you redirect them in bulk. Its WordPress.org page notes that it also logs each redirect, so you can see whether a URL is still being used.

Check the worst pages first. A broken link on your homepage or a popular post costs more than one on an old archive page, so sort the report by traffic and work down the list.

Check a small site once a month, and a large or fast-changing site once a week, with a full scan after every migration or redesign.

Links break over time as other sites move, delete pages or shut down. A monthly scan catches them before they pile up, and a weekly scan suits sites that publish often or link out a lot.

A plugin with scheduled scans makes this easy. Check for Broken Links Pro, for example, can run daily, weekly or monthly scans and email you the moment a link breaks, per its WordPress.org page.

After a redesign or a move to a new host, run a full scan at once rather than waiting for the next scheduled check. That is when the most links break, and catching them early saves the most visitors.

What mistakes should you avoid?

The biggest mistake is deleting a checker plugin the moment the report looks clean, since new links break every week.

  • Do not delete a plugin right after one scan; keep it for the next round, or schedule a repeat check.
  • Do not redirect every dead link to your homepage; Google calls that a soft 404, and visitors hate it.
  • Do not ignore soft 404s, where a page says it is missing but the server returns a 200 code.
  • Do not trust a single tool on its own; a link that one checker calls broken may only be slow to answer.
  • Do not forget links in menus, widgets and footers, which a post-only scan will miss.
  • Do not fix the same broken link in ten places by hand when a single redirect would do it.

Google's blog post on 404 errors explains the soft 404 problem clearly: a server that returns a 200 code for a page that does not exist confuses both visitors and search engines. Google prefers a proper 404 or 410 for removed pages.

Google's HTTP status codes guide adds that its crawlers follow up to 10 redirect hops by default, and that URLs returning a 4xx code are not indexed and are removed from the index over time if they were indexed before.

ToolCostWhat it scansBest for
Check for Broken LinksFree, Pro from $49 a yearPosts, pages, comments, mediaRegular scans with email alerts
RotbaneFreePosts, pages, menus, widgets, commentsNo-account checks with WP-CLI
Dead Link CheckerFree, Pro for more typesPosts, pages in small batchesLarge sites that need gentle scans
W3C Link CheckerFreeOne page or a whole site, recursivelyQuick checks without installing anything
Search ConsoleFreeURLs Googlebot met while crawlingFinding the broken URLs Google sees

If a page you fixed still shows as an error in Search Console, our 404 error fix guide covers the remaining causes, from caching to a missed redirect.

Frequently asked questions

Should I fix every broken link on my site?

Not always. A link to a page that was deleted on purpose should return a 404, and Google is fine with that. Fix the links that point to pages you care about, or that visitors click often, and leave harmless 404s alone.

What is a soft 404?

A soft 404 is a page that looks like an error page but returns a 200 success code from the server. Google treats it as a missing page and may list it as a soft 404 in Search Console. Make sure removed pages return a proper 404 or 410 code instead.

Why use a plugin instead of an online link checker?

A plugin that runs inside WordPress can scan drafts, private pages and content behind a login, which an outside checker cannot reach. It also scans your whole site at once, while the W3C checker works best one page at a time.

Can a broken link checker slow down my site?

Yes. Old plugins that scanned on every page load could slow a site down. Modern checkers run scans in batches or on a schedule, and you can delete the plugin after the scan if you only need a one-time check. Keep it installed if you want repeat scans.

Why do broken links keep appearing after I fixed them all?

Check your menus, widgets, footers and theme files, since many reports only scan posts and pages. Also check links inside shortcodes and custom fields, which some free scanners skip. A plugin that scans menus and widgets will catch these.

Sources

  1. Check for Broken Links WordPress.org Plugin Directory
  2. Rotbane – Broken Link Checker WordPress.org Plugin Directory
  3. Broken Link Checker – SEO and 404 error Fix WordPress.org Plugin Directory
  4. W3C Link Checker W3C
  5. 404 (Page Not Found) errors Google Search Console Help
  6. Do 404 errors hurt my site? Google Search Central Blog
  7. How HTTP Status Codes Affect Google's Crawlers Google for Developers

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

WPLegible editors

Researched from the primary sources listed above and checked against our editorial rules. About the site · How we test