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

    1. Jānis Elsts says:

      @Giovanni:
      That link doesn’t show a 404 for me. Could you give a different example?

    2. [...] domain names you’ve probably got old links that result in 404 errors. To fix this, I use Broken Link Checker because it will check your posts (and pages), looking for broken links, and let you know if any are [...]

    3. [...] to check the links every now and again if you don’t already. I have a little plugin called Broken Link Checker for WordPress that tells me about broken URLs, which I’ve found really [...]

    4. [...] Bro­ken Link Che­cker Zeigt auf Start­seite an, wenn irgend­wel­che Links nicht mehr funktionieren [...]

    5. Elf says:

      Awesome plugin! Thank you so much for it. Really helps me keeping those years old entries up–to–date :-)

      As I recently switched to writing in Markdown, may I have one feature request? When enabling “plain text url checking”, those Markdown links are reported to be wrong, as they tend to end in a closing bracket, e.g. [Link](http://example.com) – and, of course, example.com) isn’t a working link.

      Thank you so much again!

    6. [...] tidying up my links, using a plugin to check those which are broken. I like to find the site at a new link but most of them are just [...]

    7. [...] Broken Link Checker by Janis Elsts [...]

    8. Jānis Elsts says:

      @Elf: Thanks for the feedback. I can’t promise anything at this time, but I’ll add your suggestion to my idea list :)

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

    10. Aaron says:

      Hi,

      I love this plugin. But the latest version combined with the latest version of SEO Ultimate seems to cause the dashboard and some of the admin pages to break – I’ve tested compatibility with different installs and deactivating other plugins, but it’s just the two that don’t seem to play well together.

      Would love to use both together if you have any suggestions =)

      Thanks,
      - Aaron

    11. Jānis Elsts says:

      I’ve set up a test blog (WP 3.3.1) and installed both plugins, and I’m not seeing any broken admin pages or errors anywhere. How exactly does the problem manifest on your site? Also, are there any relevant error messages in your server’s error log?

    12. [...] Broken Link Checker — When I first installed this plugin, it found over 80 broken links — YIKES! I took an afternoon to fix them all… and now, any time I have a broken link, it alerts me on my WordPress dashboard and I can fix it ASAP. [...]

    13. Aaron says:

      Thanks for the reply Janis.

      I sent my server logs over to my webhost and they did something on their end and voila – all working again. They didn’t say what it was, but I’m going to guess it was something memory related.

      - Aaron

    14. [...] Broken Link Checker – Verifica se o seu blog tem links quebrados e se falta alguma imagens e gera uma lista. Visitar o site do plugin [...]

    15. [...] Broken Link Checker – Verifica se o seu blog tem links quebrados e se falta alguma imagens e gera uma lista. Visitar o site do plugin [...]

    16. [...] Broken Link Checker – Verifica se o seu blog tem links quebrados e se falta alguma imagens e gera uma lista. Visitar o site do plugin [...]

    17. [...] a plugin that checks broken links. I use Broken Link Checker (free plugin); when there is an issue about a link, you receive an email and can fix [...]

    18. [...] “Broken Link Checker” von Janis Elsts, soll mir helfen tote Link-Adressen innerhalb meiner Homepage zu finden und [...]

    Leave a Reply