WordPress

How to find broken links in WordPress (and what to do with each one)

How to find broken links in WordPress across every post, tell real dead links from blocked ones, and fix them without a plugin running all day.

By wptaskify TeamUpdated Dec 3, 20265 min read
How to find broken links in WordPress (and what to do with each one)

To find broken links in WordPress, you need something that opens every link in every post and records which ones return an error. Doing it by hand stops working after about ten posts. Here is how we check, and what we do with each dead link once we find it.

A reader who clicks a dead link loses trust in the page. Google's crawler follows links too, so hundreds of dead ones waste the time it spends on your site. Old blogs collect them quietly: the sites you linked to in 2022 move, rename or shut down.

  • A broken-link plugin. It works, but most of them keep checking in the background all the time, which slows cheap hosting. If you use one, run it, fix the list, then switch it off.
  • An outside crawler. Desktop SEO crawlers find broken links from outside the site. Free versions usually cap the number of pages.
  • Ask an AI connected to your site. In wptaskify we type "Check all my posts for broken links." The check_broken_links tool opens each internal and external link and returns the dead ones grouped by post.

Dead or just blocked?

Many big sites answer automated checkers with a 403 "forbidden" even though the page works fine in a browser. A checker that reports those as broken gives you a list full of false alarms. Ours sends a normal browser identity and does not count "blocked" answers as dead. Whatever tool you use, open a few of the reported links yourself before deleting anything.

  1. The page moved: search for the new address and update the link.
  2. Your own page is gone: add a 301 redirect to the closest live page, then fix the link too.
  3. Their page is gone for good: link to another source that says the same thing, or remove the link and keep the text.
  4. It was a shop or affiliate link: replace it with the current product page. These cost money every day they stay dead.

How often to check

Once a month is enough for most blogs. Stores with affiliate or product links should check every two weeks.

Our pick

We wouldn't keep a broken-link plugin running all day. Run a check once a month, fix the list in one sitting, done. You can run that check on your site with the free plan at wptaskify.com.

Your AI is ready to work.

Connect WPTaskify and turn conversations into real actions.

Start Free