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

      It seems I used the term ‘blogroll’ wrong, sorry for this misunderstanding.

      My problem basically is, that the original link-manager have no paging and all my links are displayed on one slow loading page. So, I thought it would be a good idea to replace the link-manager with your ‘all’ links page – or to merge them somehow.

      Anyway, I submitted an enhancement request to WordPress Trac and asked for adding paging to the link-manager.

    2. […] ウェブサイト: Broken Link Checker for WordPress | W-Shadow.com […]

    3. […] Broken Link Checker – That’s a must have plugin to have. Because as your blog get’s bigger, you will have more sites you are linking to. So if you have 1000 links in your blog, it’s pretty hard keeping track of them. Broken Link Checker will find the broken links and report them to you. […]

    4. […] habe ich ein Tool, das überprüft, welche Links im Blog defekt sind. Das Ding nennt sich Broken Link Checker for WordPress (das ist ein tolles Tool, kann man sich ins Blog holen). Seit kurzem prüft dieses Tool auch, […]

    5. […] Broken Link Checker qui vérifie les liens inséré dans le blog. J’ai du travail à faire à ce niveau : le plugin a détecté 72 liens “cassés’! […]

    6. […] fällt mir ein, ich hab ja das letzte Mal diesen Broken Link Checker eingebaut, der auch brav alle inaktiven und ungültigen Links findet. Leider schickt das […]

    7. […] Broken Link Checker. Checks your blog for broken links and missing images and notifies you on the dashboard if any are found. This may not be as necessary right away, but over time links get deleted or broke. […]

    8. Lee Winter says:

      Where should I be looking for the release notes for BLC v1.2.3?

    9. Vladimir says:

      Hi,

      today I received notification about new version of plugin, but plugin asks for ftp access to my site….is this something new….if yes why?

      or this is some bug with my install?

    10. White Shadow says:

      @ Lee
      The release notes are here:
      http://wordpress.org/extend/plugins/broken-link-checker/changelog/

      @ Vladimir
      That’s probably a bug or misconfiguration in your WordPress site. The plugin itself doesn’t need FTP access, but WordPress sometimes asks for it if it cannot install a plugin normally due to restrictive file permissions.

    11. Lee Winter says:

      Release notes for 1.2.3 found. But my typo does not count. Where are the release notes for the new version 1.2.4?

    12. White Shadow says:

      Looks like wordpress.org glitched out and didn’t update the changelog with my 1.2.4 notes. You can also find them in the readme.txt file in the plugin’s directory.

    13. Loc says:

      This Broken Link Checker is going to come in very handy especially if your blog has a few hundred pages. There’s no way to keep track of all your links.

      Good stuff. Tks…

    14. Lee Winter says:

      > Looks like wordpress.org glitched out and didn’t update
      > the changelog with my 1.2.4 notes. You can also find them
      > in the readme.txt file in the plugin’s directory.

      OIC. So I have to install the upgrade in order to determine whether to install the upgrade?

      Please indicate where previous versions may be found in case a down grade is called for.

    15. White Shadow says:

      You could manually download the archive from wordpress.org and then extract the readme.txt file.

      Previous versions are available here.

    16. Lee Winter says:

      OK, thanks for the help.

    17. Odys says:

      Something is WRONG in it.
      It changed ALL my picture sources to my default .htaccess redirect image.

      Lost a weeks work.

      I have an .htaccess on \uploads to disallow pictures to be linked from other websites

      After editing an article, brokenLinkChecker changed ALL images from ALL posts to point to that image.

    18. White Shadow says:

      Seems… improbable. Did you edit the article through the plugin (i.e. by editing a link)? If not, then there’s no way it could’ve changed anything.

      Also, I looked at the site that you entered with your comment and all images seem to be show up fine.

    19. Odys says:

      I keep DB backups. Already fixed them.
      This plugin is the only able to change stuff inside posts.

      A question: Does BLC uses the “siteurl” and/or “home” from WP_Options?

    Leave a Reply