Broken Link Checker for WordPress

Notice: This plugin has been transferred to ManageWP. I am no longer working on it. Please direct any feedback to the new developer. See the plugin homepage for more information.

Sometimes, links get broken. A page is deleted, a subdirectory forgotten, a site moved to a different domain. Most likely many of your blog posts contain links. It is almost inevitable that over time some of them will lead to a “404 Not Found” error page. Obviously you don’t want your readers to be annoyed by clicking a link that leads nowhere. You can check the links yourself but that might be quite a task if you have a lot of posts. You could use your webserver’s stats but that only works for local links.

So I’ve made a plugin for WordPress that will check your posts (and pages), looking for broken links, and let you know if any are found.

Features

  • Detects links that don’t work, missing images, deleted YouTube videos and other problems.
  • Periodically checks links in posts, pages, comments, custom fields and the blogroll.
  • New and modified entries are checked ASAP.
  • Notifies you on the Dashboard if any problems are found.
  • Lets you edit all instances of a specific link at once.
  • Gives you a list of all links ever posted on your site, with the ability to search and filter it.
  • Lets you apply custom CSS styles to broken and removed links.
  • Highly configurable.

The broken links show up in the Tools -> Broken Links tab along. If any invalid URLs are found a notification will also show up on the Dashboard widget. To save screen real-estate, the widget can be configured to stay closed most of the time and automatically expand when broken links are detected.

Download

broken-link-checker.zip (412 KB)

    Requirements

    • WordPress 3.0 or later
    • MySQL 4.1 or later

    The current version of this plugin is only compatible with WordPress 3.0 and up. If you have an older version of WP, try one of the older releases. Specifically, version 0.8.1 is the last one that’s still compatible with the WP 2.8 branch, and version 0.4.14 is the last one compatible with WP 2.1 – 2.6.x.

    Installation

    Install “Broken Link Checker” just like any other WordPress plugin :

    1. Download the .zip file (see below).
    2. Unzip.
    3. Upload the broken-link-checker folder to you /wp-content/plugins directory.
    4. Activate the plugin in the Plugins tab.
    Related posts :

    2,584 Responses to “Broken Link Checker for WordPress”

    1. White Shadow says:

      This should be fixed in 0.5.12 which will be up shortly.

    2. rpali says:

      *Wonderful!* Thank you very kindly. The error has disappeared after upgrading!

    3. gaianorm says:

      Congrats, your suport works better than other “plugin creator” offer on payment.
      Thanks again!
      (HEy i saw that your plugin is not localized yet. If you want i offer my service for italian translation)
      Bye bye

    4. White Shadow says:

      I’ll put localization on my to-do list and let you know if/when I get around to it 🙂

    5. giacomo says:

      OK contact me via email when you decide to start

    6. Valerie says:

      I’ve been using this plugin for quite some time, and have been pretty pleased. Unfortunately, the updates over the last several months have caused problems.

      Whenever I try to update automatically through WordPress, it says it failed because the directory already existed. So I have to manually rename the directory and then reinstall it. Which is rather time-consuming and annoying.

      There have been a few times when this didn’t happen, so I don’t think it’s something on my end. Please take a look into this, so it doesn’t happen again.

    7. […] правильность удобно с помощью плагина Broken Link Checker, он позволяет прямо из админки исправлять битые […]

    8. Pixie says:

      This plugin is not working properly for me. I installed it and it came back with:

      No broken links found.
      No URLs in the work queue.
      No links detected.

      I found that it only detected the links if I went into each post and “edited” it. If I push the ‘Re-check’ all pages button however it goes back to saying what it was before and I have to bulk-edit all the pages again…

    9. Doc4 says:

      Great plugin. I wanted to let you know that it breaks both “Incoming Links” and “Google Analytics” dashboard widgets. It stops them from fully loading. This is not a huge issue, but something you might look into for the next release.

      Thanks

    10. Seems to be a great plugin but doesn’t work for me. It locks my system and I get a MySQL Server error. Any ideas about other conflicting plugins, e.g. Redirection, WP Super Cache?
      Thanks!

    11. Dee says:

      Like everyone else, I adore this plugin.

      I was, however, wondering if it would be possible to make it is that it also checks comment (particularly commentor URLs) links?

      Thanks again for all your hard work!

    12. White Shadow says:

      @ Valerie : I, on the other hand, think it’s something on your end. In particular, it sounds like it could be a permission problem with newly created files. The reason it only shows up in some of the newest versions is that some of them contain new .php files (as opposed to just modified versions of old files).

      @ Pixie : No idea why this would happen. Try installing the debug version and using the FirePHP addon to monitor the plugin’s activity. Maybe some interesting error messages will come up?…

      @ Doc4 : I’ll look into it.

      @ Jose : That sounds like the rare and mysterious “performance problem” that I can never replicate in any of my tests. What is the specific MySQL error you get? As for plugin conflicts, BLC is perfectly compatible with WP Super Cache (I’ve used both plugins on this very site for months) and probably shouldn’t conflict with Redirection.

      @ Dee : It’s on my to-do list 🙂

    13. White Shadow says:

      @ Doc4 (again) : I suspect it could be a JavaScript issue; check your browsers error console for any error messages.

    14. […] dem „Broken Link Checker“, den man hier herunterladen kann, beseitigt man dieses Problem. Das Plugin ist schnell installiert und läuft hier […]

    15. Surprisingly enough I tried to activate the plugin again and now it is working like a charm. It’s a great plugin. Thank you.

    16. Diego says:

      Thanks a lot! Now it works …

    17. gaianorm says:

      Hi there,
      one more question…. may your plugin generate strange url structure that Google WM tools detect as nothing found error?
      like that follow:
      http://www.luxemozione.com/2007/06/2009/09/incandescenza-non-ci-vedremo-mai-piu.html
      Im also using a plugin that might caused these errors (about 100) but i’d like a confirmation…on 28 septermber, when the problem started, i have installed new translation plugin (that unfortunatly i bought) and updated yours as well.
      thanks
      G.

    18. White Shadow says:

      I don’t think it can do that. Still, you could always deactivate the plugin temporarily and see if the problem goes away.

    19. gaianorm says:

      Hi, ok ok BLC is now deactivated, I’ll keep you informed if something change 🙂
      Thanks

    20. gaianorm says:

      Hi! one more little question, I noticed that you did’t insert last version changelog… there were significant change until V.0.5.12?
      Bye
      G.

    Leave a Reply