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. David says:

      Awesome plugin! I have used it a couple of times now and it rocks. My latest project involves using Pods CMS and I was wondering where in your code I would start looking to be able to get Link Checker to look at fields in Pods?

    2. White Shadow says:

      @ David : The current version isn’t really that extensible. The next one will have support for third-party link parsers, which would make Pods support possible. Bo idea when it’ll be out, though.

    3. […] could’ve been spent on more productive and enjoyable things – like finally updating Broken Link Checker, or setting up an AdWords campaign for my first commercial plugin. I could’ve spent them […]

    4. […] eigenen Leser.An dieser Stelle setzt das Plugin Broken Link Checker an. Zu finden ist das Plugin HIER.Damit sollten für die Zukunft nicht funktionierende Links die man gesetzt hat der Vergangenheit […]

    5. […] missing images and notifies you on the dashboard if any are found.Version 0.8.1 | By Janis Elsts | Visit plugin sitecformscformsII offers unparalleled flexibility in deploying contact forms across your blog. Features […]

    6. […] Broken Link Checker: Monitors your blog for any broken links and lets you know if it finds any. PluginWP […]

    7. 101 Killer WordPress Plugins that Kick Ass | MyWebNow.com says:

      […] Broken Link Checker: Monitors your blog for any broken links and lets you know if it finds any. PluginWP […]

    8. […] primo caso è d’obbligo il Plugin Broken Link Checker . Una volta copiato sul server ed installato in WordPress, sarà sufficiente attivarlo e cliccare […]

    9. Rick Powell says:

      The plugin is flagging all diigo links as broken. For example,

      http://www.diigo.com/user/homo_superior/“record labels”

      Also, some shortened links from bitly and tinyurl are sometimes, but not always, reported as broken.

      Thanks.

    10. Matt Gray says:

      hi there,

      i did a huge bulk fix of certain links, but it seemed to clash with another plugin “download manager” – what has happened is that it has broken many of my links that were actually working,

      eg on this page http://www.listenupsa.com/2008/07/29/dj-strat3gy-monument-recall/ there is a link “DJ Strat3gy -Monument Recall ” above the banner – this used to open

      http://www.listenupsa.com/wp-content/plugins/download-monitor/download.php?id=98

      but now it opens “http://www.listenupsa.com/2008/07/29/dj-strat3gy-monument-recall/%E2%80%9Dhttp://www.listenupsa.com/wp-content/plugins/download-monitor/download.php?id=97%E2%80%9D” – which does not exist

      is there anyway I can do a major UNDO of broken link fixes?

      please help me, thanks!

      matt

    11. White Shadow says:

      @ Rick : I’m working on it.

      @ Matt : It appears that, for reasons unknown, the plugin has somehow replaced normal quotes in the link tag with

      (MS Word quotes). Currently there is no way to undo this automatically, but you might be able to use something like the Search and Replace to replace the quotes manually in all affected posts.

    12. […] Broken Link Checker – добавляет нерабочим ссылкам стиль “brokenlink”, можно сделать сломаную ссылку зачёркнутой, можно найти и поправить неправильные ссылки. […]

    13. […] Broken Link Checker – fixa alla brutna länkar och bilder i gamla inlägg. […]

    14. […] oder schon bei der Erstellung des Blog Posts die Richtigkeit der Link Adresse prüfen kann. Broken Link Checker for WordPress lässt sich unproblematisch im Admin Menü eures Blogs installieren und danach aktivieren. Die […]

    15. […] Broken Link Checker for WordPress,这是一个自动检查你网站中的链接是否已经失效的插件。个人认为是很好用的,哪怕是收藏的友情链接也会被检测。哪些链接死链了,哪些链接重定向了,插件都会一一告知,而且直接让你在后台修改删除操作,方便好用。 […]

    16. marikamitsos says:

      Hi there and thank you for the excellent work.
      I have been using Broken Link Checker and get great results. I found another plugin, Link Juice Keeper. This plugin helps you to keep the link juice by redirecting all non-existing URLs which normally return a 404 error to the front blog page using 301 redirect.
      Will there be a conflict between the two plugins?
      Thank you in advance. Marikamitsos

    17. White Shadow says:

      It might prevent BLC from detecting broken internal links. External links should still be checked properly, though.

    Leave a Reply