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

      does it checks rapidshare links if they are alive or files have been deleted?

    2. White Shadow says:

      @koullis – nope, as I mentioned before, it doesn’t work with RS. It would always treat those links as working.

    3. koullis says:

      @White Shadow

      thnx for your reply

      do you know other plugin which checks RS links?

    4. White Shadow says:

      @koullis – Nope, haven’t heard of any.

    5. […] Broken Link Checker for WordPress – As your blog gets more and more posts, it can be difficult to go back and look for what has broken with time.  This plugin will check images and links and notify you via the dashboard when it locates something. […]

    6. I have a website that contains about 3500 posts all of which contain a link to a news article. I used to check for broken links manually every month – in May, for example, I would go through all the posts for May for each year. Lately, however, I have been unable to keep up with this. Will this plugin work efficiently with this many posts?

      Thank you.

    7. […] Broken Link Checker for WordPress : Lorsque votre blog devient de plus en plus riche en contenu, il devient difficile de retourner en arrière pour chercher les liens cassés. Ce plugin va faire le travail à votre place en vérifiant les images et les liens. Une notification sera visible sur votre tableau de bord. […]

    8. White Shadow says:

      @Kim Woodbridge – It will work, but I can’t say how well it will work. It might take a long time to check all the posts.

    9. @White Shadow – thanks! I will try and see what happens … after the first pass wouldn’t it be quicker because there won’t be so many broken links or will it always be slow because there are just so many links to check? I’m also looking into using a standalone program such as Xenu to deal with this my broken links.

    10. White Shadow says:

      @Kim Woodbridge – It should be a bit quicker after the first pass, but with that amount of posts it will always take time to check them all.

    11. […] Broken Link Checker for WordPress | W-Shadow.com […]

    12. Well, I installed it and have it running now in a separate browser window. It’s slowish but is running without any problems at all. It’s gotten about halfway through the 3500 posts in 1.5 hours and has found 82 broken links so far. I immediately changed the checking schedule to weekly and may even change it to monthly. So, even if this does take 3 hours it is still so much faster than I can do it manually. So, thanks for a great plugin and we now know it can handle an unusually high number of posts 🙂

    13. […] Broken Link Checker for WordPress – Links und Foto-URLs überprüfen. […]

    14. […] Mashable posted an article on the 20 best WordPress plugins for version 2.5. One on the list was Broken Link Checker. I had an ah-ha moment and immediately went to the site and read about the plugin. I was a little […]

    15. bob cobb says:

      I got this on my dashboard after I installed it: Fatal error: Call to undefined function curl_init() in /home/igneous/public_html/wp-content/plugins/broken-link-checker/wsblc_ajax.php on line 292

    16. White Shadow says:

      @bob cobb – your server doesn’t have CURL installed, and this plugin will not work. There is no workaround except for installing CURL.

    17. Jvista says:

      Hello, can you create a plugin that report the videos removed from youtube?
      That would be impressive!

      Thank you.!

    18. White Shadow says:

      @Jvista – You mean embedded videos, right? That’d depend on how they’re inserted in the post – just the HMTL or via some plugin.

    19. Jvista says:

      Hello, Yeah, as the plugin “Broken Links”, but than report videos of youtube deleted or removed, inserted for Embed direct in wordpress, as:

      ==============

      ==============

      So bloggers we can always know when a video has been removed, and can us update it.

      maybe rename to “Yotube Broken Links” or “Youtube Broken Embed”, 🙂

      Well, Thanks! for “Broken Links”, is a exelent plugin!

      Good Luck!.

      Sorry for my english, I don´t speak english. =/

    Leave a Reply