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:

      So you’re using a custom directory for the lockfiles?

    2. PK says:

      yes because after activating the plugin i got imidiatly the message: Broken Link Checker can’t create a lockfile. First i made the blc directory writable but that had no affect then tried a custom path, also no affect.

    3. PK says:

      i forgot to mention that with or without using a custom path i also get this message every time: Error : This directory doesn’t exist.

    4. PK says:

      its been like this http://i46.tinypic.com/1fy3hx.jpg for an hour now, doesnt do anything

    5. White Shadow says:

      Try the development version. If that doesn’t help, I suggest temporarily downgrading to version 0.7 while I try to fix this bug.

    6. PK says:

      okay thanks i will try 🙂

    7. PK says:

      Yep downgrading did the trick works good!

    8. […] * Bro­ken Link Check […]

    9. DJ says:

      Pls fix Version 0.7.2, i had the same problem with PK: Broken Link Checker can’t create a lockfile.
      Thank you.

    10. […] Broken Link Checker – identifică link-urile nefuncţionale; […]

    11. Arcane Palette Holiday Special | jazzsequence says:

      […] Broken Link Checker […]

    12. […] плагин wordpress Broken Link Checker Если данная публикация вам понравилась, предлагаю вам […]

    13. Plug-in list in wordpress | eLKei.NET says:

      […] 4. Broken Link Checker(추천) “Checks your posts for broken links and missing images and notifies you on the dashboard if any are found.” 많은 분들이 알고 사용하고계실 플러그인이죠? 자신의 블로그안에 깨진 링크가 있는지 모니터링해줍니다. 확실히 작동하는지 확인한것은 일전에 일본어 블로그가 아직 준비되지 않은 시점에서 미리 링크만 걸어둔 일이 있는데, 그걸 이녀석이 잘도 캣치하더군요. 다만 링크가 다시 연결된 뒤에도 남아있어서 설정화면에서 체크내역을 삭제해주었습니다. 여러모로 유용한 플러그인이죠~ Janis Elsts | Visit plugin site […]

    14. lowspeed says:

      Doesn’t seem to work on a windows machine ? (running apache/php/mysql)

    15. White Shadow says:

      Can you elaborate? I’m running Windows on my dev. computer and it works fine.

    16. lowspeed says:

      Debug info is all green. When i do manual check all i get:

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

    17. […] Broken link checker Requires at least version WP-2.0.2 and tested up to WP-2.5.1. […]

    18. White Shadow says:

      Try the Recheck button. When you press it, does the status display say “Looking for links…” (or something to that effect), or does it go back to “No links detected” immediately? Also, what’s your PHP version?

    Leave a Reply