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

    1. […] Broken Link Checker by Janis Elsts is one of the most useful WordPress plugins around. […]

    2. […] eleventy zillion of my links are now going to error pages. How do I know this? I installed the Broken Link Checker plugin. Day after day, this awesome tool does the tedious task of crawling my blog for broken […]

    3. […] Para quem usa o WordPress, há um plugin interessante que sempre verifica se há links quebrados, o Broken Link Checker. Eu uso e estou […]

    4. Alon Bilu says:

      Is there a wp-plugin that similarly to broken links checking allows me to check all my blogs pages for “Toxic / Spammy” outbound links – what I mean is is there something that will protect my blog from hackers that try to “Inject” spammy links inside the actual content of the posts ?

    5. […] Broken Link Checker Plugin – Checks your blog for broken links and missing images and notifies you on the dashboard if any […]

    6. […] Broken Link Checker by Janis Elsts is one of the most useful WordPress plugins around. […]

    7. The following link, https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode, is very frequently reported as broken. based presumably on a 416 return code. But the link is not at all broken. I suppose that the problem is not in the link, but in how the plugin is testing the link or interpreting the returned data.

      Here is the log:

      Log: === HTTP code : 416 ===

      Response headers
      ================
      HTTP/1.1 416 Requested Range Not Satisfiable
      Server: cloudflare-nginx
      Date: Wed, 26 Aug 2015 00:49:20 GMT
      Content-Type: text/html; charset=utf-8
      Transfer-Encoding: chunked
      Connection: close
      Set-Cookie: __cfduid=df87244ab3bdf92b312d98a4d5d113f731440550155; expires=Thu, 25-Aug-16 00:49:15 GMT; path=/; domain=.creativecommons.org; HttpOnly
      Last-Modified: Wed, 29 Jul 2015 18:24:27 GMT
      ETag: W/”20b1d-6220-51c07b2758665-gzip”
      Vary: Accept-Encoding
      X-Varnish: 246237670
      Age: 0
      Via: 1.1 varnish-v4
      Content-Range: bytes */0
      CF-RAY: 21bb89255ddf0e1e-MXP

      Request headers
      ================
      GET /licenses/by-nc-sa/4.0/legalcode HTTP/1.1
      User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
      Host: creativecommons.org
      Accept: */*
      Referer: http://www.3cs.ch
      Connection: close
      Range: bytes=0-2048

      Response HTML
      ================

      Link is broken.

    8. Jānis Elsts says:

      Sorry, I can’t help you with that. The plugin has been transferred to a different developer. Please contact the current developer.

    9. […] die Sucharbeit abnehmen können. Für selbst gehostete WordPress Blogs lohnt sich ein Blick auf das Plugin Broken Link Checker, das im Hintergrund arbeitet und einem im Dashboard die Links auflistet und eine Bearbeitung oder […]

    10. […] If you’re using WordPress, use the Plugin: Broken Link Checker […]

    11. […] You can read the complete changelog and also download this latest version on their homepage: w-shadow.com […]

    12. […] The Broken Link Checker is so simple and easy to configure! This plugin will scan your blog posts, pages and comments for broken links and missing images. It will then notify you so you fix the problem fast and effectively. […]

    13. […] Broken Link Checker (FREE) […]

    14. […] All in One SEO Pack 2. Broken Link Checker 3. Contact Form 7 4. Exclude Pages from Navigation 5. Google Analytics for WordPress 6. Google XML […]

    Leave a Reply