Broken Link Checker for WordPress

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,404 Responses to “Broken Link Checker for WordPress”

    1. […] Broken Link Checker plugin is an easy way to make sure that all of the links on your site — internal or external — […]

    2. George says:

      I have 345 broken links.
      The majority are 403 forbidden but internal links – what’s the significance?

      Do I need to do something?
      If so what?
      put /index.html/ on every link?

      G

    3. Jānis Elsts says:

      When you get a lot of “403 Forbidden” results on internal links it usually means that your site is blocking automated requests for some reason. There are multiple different things that could cause that: anti-hotlinking settings (mostly affects image links), poorly configured firewalls, .htaccess rules intended to prevent unauthorized access to parts of the site, password-protected links (BLC can’t check those), and so on.

      If none of the above sounds familiar, try asking your hosting provider about security-related software or settings that could be making the site return “forbidden” on loopback requests.

    4. […] Broken Link Checker – The larger the site grows and the older it gets, the more links that you once supplied or were added in comments might become outdated. Find and take action of the links that stopped working. […]

    Leave a Reply