Guide · WordPress, November 2026
How to find and fix broken links in WordPress
Pages move, other sites close, and a typo slips into a link. Visitors hit a "page not found" and search engines notice. WordPress has no broken link report of its own, but you can find and fix most broken links for free. Here is how.
1. See the 404s Google found
If your site is in Google Search Console:
- Open the Page indexing report.
- Look for the reason Not found (404). These are addresses on your site that returned "not found" when Google asked for them. Google may have found them through a link on another page.
- To see where one came from, check it with the URL Inspection tool and look at Referring page. This field can be empty even when a page links to it, so treat it as a hint.
This only shows broken addresses on your own site. It won't tell you about your links to other websites that have gone away. Google also says a 404 for a page you removed on purpose is usually fine; if the page moved, add a 301 redirect.
2. Check a page with the W3C Link Checker
- Go to validator.w3.org/checklink and enter the address of a page on your site.
- Tick Summary only for a shorter report. To check more than one page, tick Check linked documents recursively and set the recursion depth.
- Run the check and note every link it reports as broken.
It checks internal and external links, but only on public pages it can reach. It can be slow on a large site, and some big sites refuse automated checks, so a reported error isn't always a dead page. Open the link yourself before you change it.
3. Find every post that uses the bad link
- Go to Posts in the WordPress admin.
- Paste the broken address (or a unique part of it) in the search box and click Search Posts. WordPress searches post titles, excerpts and content, so posts with the link in their text show up.
- Do the same on Pages, and on any custom post types you use.
Links stored outside the post content, for example in widgets, menus or some page builder fields, won't show up here.
4. Fix it, with a way back
- Open each post, select the link text and edit or remove the link, then update the post.
- WordPress keeps a revision each time you save. If a fix goes wrong, open the Settings sidebar, choose the Post or Page tab, click the number next to Revisions, move the slider to the earlier version and click Restore.
5. Stop new broken links
- When you change a published post's slug, WordPress remembers the old one and sends visitors from the old address to the new one with a 301 redirect. It does not do this for pages.
- So before you rename or delete a page, search for links to it (step 3) and update them, or set up a redirect.
- Run steps 1 and 2 again every month or two. External sites change without telling you.
6. When to add more
Steps 1-5 cost nothing. They get slow on a site with hundreds of posts: two reports to compare, one search per bad link, and one edit per post. We are building LinkMend, a WordPress plugin that does the finding and fixing inside your admin:
- Go to Tools > Broken Links and click Start scan. It reads your published posts, pages and the custom post types you choose, and checks every link and image, internal and external.
- The check runs from your own server in small background batches. There is no account and no cloud service, and your links are never sent to us.
- It says Broken at once only on a clear error from the server, such as 404 or 410; timeouts and server errors count only after repeated failures. Refusals from sites that block checkers, such as LinkedIn or Amazon, show as a Warning with the reason.
- Each link shows where it appears, with the link text and an edit link to each post.
- Fix in one click: Replace everywhere, Unlink everywhere (keeps the text), Use final URL for a redirect, or Ignore. Each fix changes only that link and goes through WordPress's normal update, so a revision is saved where revisions are on and you can undo it.
- When you save a post, it reads the post again, so new links are added to the list for the next scan.
Those features are in the free version. LinkMend Pro adds daily or weekly automatic scans, email reports, bulk unlink and bulk "use final URL", CSV export, and scanning of excerpts and custom fields that hold a URL or HTML, such as ACF URL or text fields.
We build LinkMend. Everything in steps 1-5 works without it. This guide was written with AI assistance. The WordPress steps were checked against WordPress.org documentation and the WordPress code reference, and the Search Console steps against Google's Search Console Help, not a live site. The plugin details were checked against its code. Screens can change between versions; if yours look different, search the official help for the feature name.