Guide
How to find and fix broken links in WordPress (without a cloud service)
Broken links creep in slowly: a partner renames a page, a source goes offline, you change a slug. Here's how to find them on your own site and fix them, from a quick manual check to a check that runs on its own.
Why broken links matter
A visitor who clicks a dead link lands on an error page and often leaves. Search engines also follow your links, and a page full of dead ones looks neglected. The fix is rarely hard. The hard part is knowing which links broke, because nobody tells you.
Option 1: check one page by hand
For a single important page, such as your homepage or a popular post, the free W3C Link Checker lists every link on a URL and its status. It's fine for a spot check, but it doesn't remember anything, so you have to come back and run it again.
Option 2: look at Google Search Console
In Search Console, open Indexing > Pages and look for the reason Not found (404). That shows addresses on your own site that Google tried and couldn't find, often because an internal link or an old URL still points there. It doesn't show dead links to other websites, and the data lags by days.
Option 3: crawl the site from your computer
A desktop crawler such as Screaming Frog SEO Spider follows every link on your site and reports the ones that fail. The free version crawls up to 500 URLs, which covers most small sites. It's thorough, but it's a manual job: you run it, export the list, then go back into WordPress to edit each post.
Option 4: a link checker plugin that runs on your site
A plugin checks links in the background and lets you fix them where they live. Before you install one, check where the scanning happens. Some well-known link checkers now scan through a hosted service that needs an account, which means your URLs leave your site.
If you'd rather keep it local, the free Hrefix plugin does the whole job inside WordPress:
- Install Hrefix from Plugins > Add New and activate it.
- Go to Tools > Hrefix and click Start link checking. Nothing is checked until you do.
- Hrefix collects the links and images from your published posts, pages and public custom post types, and checks them in small batches through WP-Cron.
- Broken links show up with the post they're in and their anchor text. Edit the URL, unlink it while keeping the text, recheck it, or dismiss it.
Hrefix rechecks broken links daily and working links every 7 days, so new problems show up without you running anything.
How to fix each kind of broken link
- A link to another website that moved: search for the new address and update the link. If the page is gone for good, link to a different source or remove the link and keep the text.
- A link to your own page that you renamed: update the link, and add a 301 redirect from the old address so visitors and search engines coming from elsewhere still land on the right page. See how to fix 404 errors with redirects.
- A typo in the URL: correct it. These are the easiest wins.
- A site that's temporarily down or rate limiting you: wait and recheck before changing anything. Hrefix treats timeouts and "too many requests" answers as warnings until they fail 3 times in a row for this reason.
A monthly routine
- Open your list of broken links.
- Fix internal links first: they're fully under your control.
- Then fix or remove dead external links, starting with your most visited posts.
- Recheck anything marked as a warning before you touch it.
On most sites this takes less than half an hour once the first big clean-up is done.
Want this done inside WordPress? Hrefix is a free plugin that finds broken links on your own site, with no account and no cloud service. Hrefix Pro (from €39 per year) adds a 404 monitor, a bulk redirect fixer and a weekly email report.