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

    1. [...] wanted to share a couple of WordPress plugins I’ve been using recently. One is Broken Link Checker. Normally a lot of services ask you to pay to have them crawl your website and check for links. [...]

    2. [...] Broken Link Checker- Alerts you when a link goes sour. [...]

    3. [...] Так что если у вас не стоит этот плагин, скачайте его  здесь и  обязательно и проверте свои [...]

    4. [...] extra si utilizáis un blog en WordPress existe un plugin llamado Broken Link Checker que se encarga de comprobar dentro del blog enlaces e imágenes ausentes o redirecciones [...]

    5. Great plugins shadow :). I have question for you. Can you write tutorial about how can we made plugins by my self or is there any manual about writing broken link plugins like bitshare.com file host ?

      Sorry my english is not good.

      Thank you so much.

    6. Samuel says:

      Very good! Thanks.

    7. [...] some research, I opted to install Broken Link Checker WordPress Plug-in. This plug-in finds links that don’t work, missing images, deleted YouTube videos and other [...]

    8. Aneka HOT says:

      Is compatible with all Version?

    9. Jānis Elsts says:

      Probably not all, no. It should be compatible with the latest WordPress version though (3.3.x).

    10. I’m getting a “Cannot redeclare add_screen_meta_link()” error at plugin activation. Didn’t find any answers on wordpress support forum for this plugin …

    11. [...] Askimet and Anti-Spam Bee: Together, these spam catcher have pretty much eradicated spam comments. Win! [...]

    12. [...] it.Lets you apply custom CSS styles to broken and removed links.Highly configurable.Developer site here and download here.5. HTML Javascript AdderHTML Javascript Adder allows to insert HTML, javascripts, [...]

    13. [...] Broken Link Checker – checks your links and notifies you when something breaks [...]

    14. Wendy says:

      Can you assist? I have WordPress 3.3.2 but can’t activate my Broken Link Checker because I’m getting this error message: Fatal error: This version of Broken Link Checker requires WordPress 3.0 or later! in /home/content/05/4772205/html/wp-content/plugins/broken-link-checker/core/init.php on line 18

    15. [...] Broken Link Checker for WordPress | W-Shadow.com インストールし、プラグインを有効化させた後は、「ツール」から使用することができます。 [...]

    16. [...] Broken Link Checker for WordPress | W-Shadow.com インストールし、プラグインを有効化させた後は、「ツール」から使用することができます。 [...]

    17. Jānis Elsts says:

      Is that a new plugin/WP installation, or did you upgrade from an older version? If you upgraded, double-check that the upgrade was successful and maybe try again. It sounds like some of the plugin or WP files might still be from an older version.

      Technical info: The plugin checks if it’s running in WP 3.0 or later by checking for the presence of the “get_post_stati” function. This function was added in WP 3.0 and is still present in 3.3.2. It is defined in /wp-includes/post.php. If you have an old version of post.php, it could cause this kind of error.

    18. [...] Broken Link Checker – Monitora e avisa sobre links quebrados em seu Blog, ajudando assim no posicionamento de seu blog no Google. [...]

    19. [...] habe ich das WordPress Plugin Broken Link Checker von Janis Elsts genutzt, um kaputte ausgehende Links zu finden. Gerade bei den alten Artikeln, die ich aus Blogspot [...]

    Leave a Reply