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.

Download it now! (423 KB)

Features

  • Detects links that don’t work and missing images.
  • Periodically checks links in posts, pages, comments 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.

Installation

Install “Broken Link Checker” just like any other WordPress plugin :

  1. Download the .zip file.
  2. Unzip.
  3. Upload the broken-link-checker folder to you /wp-content/plugins directory.
  4. Activate the plugin in the Plugins tab.

Download

broken-link-checker.zip (423 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.

Share :
  • Reddit
  • del.icio.us
  • Digg
  • StumbleUpon
  • DZone
  • Ping.fm
  • Sphinn
  • Twitter
Related posts :

1,244 Responses to “Broken Link Checker for WordPress”

Pages: « 118 19 20 21 22 [23] 24 25 26 27 2842 » Show All

  1. 645
    White Shadow says:

    I’m not sure, but I suspect this is somehow related to the fact that the database upgrade function that the plugin used is unable to handle explicitly specified character sets and collations.

    Try the development version again, I’ve made some changes that might help.

    Sidenote : There were only two significant DB-related changes in the latest versions. One, the plugin now uses case-sensitive collation (latin1_general_cs) for it’s URL column(s). Two, I switched from creating the tables directly to using the aforementioned upgrade function. I think one of these modification is be to blame.

  2. [...] Broken Link Checker – Checks your posts for broken links and missing images and notifies you on the dashboard if any are found. [...]

  3. 647
    23 Must-Have WordPress Plugins | The Common Hoster – CelebrityTwitterGossip.com says:

    [...] 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. [...]

  4. [...] Broken Link Checkerプラグインで自身のブログへのリンク切れがないか確認 [...]

  5. [...] Twitter så kan du med detta plugin få dessa omnämnanden som kommentarer på inlägg och sidor.Broken Link Checker Det här WordPress pluginet håller reda på om det finns några brutna länkar på din webbplats [...]

  6. 650
    Sheila says:

    I have the Broken Link Checker version 0.5.9 installed and now left deactivated because it has been increasingly reporting links as being broken when they are not. I tried deleting all the data for the plugin and reinstalling it, but that didn’t help.

    I have 5 other plugins and wonder if maybe the Broken Link Checker might be conflicting with 1 (or more?) of them. They are: Akismet, All in One SEO Pack, CR Flexible Comment Moderation, WordPress.com Stats, and WordPress Popular Posts.

    I also tried changing the amount of hours it rechecks the links to see if that made any difference. It made no difference.

    When I first began using the Broken Link Checker many months ago, it only reported links that really were broken. Now it seems to be heading in the direction of labeling all my links as being broken (I have an enormous amount of links!).

  7. 651
    White Shadow says:

    Check the “Details” panel for the incorrectly reported links (either click the “Details” link that pops up when you hover your mouse cursor over the table row, or just click anywhere in the “Link Text” column). Is there anything unusual in the log? Maybe a pattern of some kind (e.g. all links showing “No response”)?

    You might also try installing the dev. version on the off-chance that it might help.

    As for your other plugins : I’ve successfully tested the link checker with Akismet, All in One SEO and WP.com Stats, and I’m pretty sure the other two should cause no conflicts either.

    Oh, and have you recently moved to a new server/has the server configuration changed significantly?

  8. 652
    Sheila says:

    Yes, alll the links reported as broken show “No response” in the “Details” link. Does this mean I should install the dev. version?

    No, I haven’t moved to a new serve and the server configuration has not changed. Thank you for your quick response.

    I’m curious to see how this problem will resolve. :)

  9. 653
    Sheila says:

    I did delete version 0.5.9 and install 0.5.1

    0.5.1 is doing the same thing. What’s odd is that when I recheck for broken links manually, it sets the results to zero. In less than a minute, it’s back to compiling a long list of broken links with every one having the detail showing no response.

  10. 654
    White Shadow says:

    Hmm, I still haven’t figured out why this happens. Does the log also say anything like “(Most likely the connection timed out or the domain doesn’t exist)” or “Using Snoopy”?

    Try this – open /broken-link-checker/link-classes.php and change these lines (near line 160) :

    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);
    curl_setopt($ch, CURLOPT_TIMEOUT, 30);

    to something like this :

    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 100);
    curl_setopt($ch, CURLOPT_TIMEOUT, 150);

    These numbers specify how long the plugin is willing to wait for a response from a remote server. Setting them this high should help if the problem is caused by a network glitch.

  11. 655
    Sheila says:

    If figures!… after having deleted 0.5.1 and leaving my blog without a Broken Link Checker Plugin all day; then reinstalling 0.5.9 to try out your suggestion, the problem no longer exists! It’s working fine now.

    I will keep your suggestion handy in case if malfunctions again. I wonder if it’s possible the hosting company that my blog is on had some glitch going on and resolved it? If that’s the case, is it possible that it could have taken weeks for them to work out the bug?

    Thank you for your quick and caring responses!

  12. 656
    White Shadow says:

    Well, I love problems that solve themselves :)

    Still, could you perhaps install the 0.5.10 again and see if the bug reappears? I realize you don’t need to, but it might provide valuable information for me.

  13. 657
    Sheila says:

    I installed 0.5.10 again and I thought the bug did not reappear because it wasn’t developing a ‘weird’ list again. Now I’m not sure, because it reported a link as broken for this reason: HTTP/1.1 503 Service Temporarily Unavailable

    Every time I manually checked that ‘broken’ link, it worked fine.

    Then I put back 0.5.9 and that version is now doing the same thing. Before installing 0.5.10 today, it wasn’t giving that 503 message for that ‘broken’ link.

  14. 658
    White Shadow says:

    I’d suggest waiting a few hours (or until the link is checked again). It might actually be a temporary glitch on the server hosting the linked site (that happens from time to time), in which case the 503 message should go away after a while.

    There are also some sites that always show an error page to the plugin but let normal visitors access them, but those are relatively few.

  15. 659
    Sheila says:

    Thank you for all of your help and tips. I hope my feedback is helpful.

    The Broken Link Checker seems to be fine now. :)

  16. [...] от битых ссылок. По ее рекомендации я поставила плагин Broken Link Checker и с его помощью выявила, а потом исправила или удалила [...]

  17. 662
    Sepi says:

    Hi There!

    I use this plugin and am very satisfied. I think my site is being hacked, and I think your plugin is helping me to find this. It’s currently indicating that I have over 150 links in the work queue, but I do not see any pending posts in my site. Where does the tool check through to find links in work queue?

    Scarry to be hacked… :(

    Sepi

  18. 663
    White Shadow says:

    The “work queue” here refers to the plugin’s own internal queue of links that need to be checked (or re-checked) at this time; it has nothing to do with pending posts. And it’s certainly not an indication that your site is being hacked :)

  19. [...] Broken Link Checker 0.5.9 [...]

  20. [...] Indispensable, cuanto antes lo instales mejor. Este plugin revisa que todos los links en tus posts funcionen correctamente. Yo lo puse luego de años de tener el blog y encontré muchos links rotos. Lamento no haberlo tenido desde el principio. Link [...]

  21. I enjoy the links checker, however, I’ve noticed a systematic error that the plugin is making. I have links to the site http://www.tigersandstrawberries.com, and all the links are working (hand-checked). However, the plugin identifies them as broken and draws a line through them.

    Here’s the actual post location: http://www.chileunderground.com/2008/08/14/august-f-bom-tigers-and-strawberries/

    The broken-link details include notification of error 412, precondition not met. I’m now looking through all the other links the plugin found to be “broken” looking for more instances. Is there a workaround to keep these type of “broken links” from being mis-identified?

    The Chile Doctor

  22. 669
    White Shadow says:

    At first glance the 412 response code seems like a fairly sure indication that the site in question is running some kind of anti-bot script that’s blocking the plugin. I’ll run some tests later to make sure, but it’s probably the most likely answer.

    As far as I know, there isn’t much I can do to prevent the plugin from being detected as a web crawler/bot/an automated thingy – in a sense, it actually is those things.

  23. 670
    Jared says:

    Great Plugin – love it, I was shamed by the amount of broken links by blog had.

  24. 671
    Sepi says:

    I just wanted to thank you for your quick response the other day. I asked about the work queue (mistakenly thought I was being hacked). Thank you for responding right away!

  25. [...] but dead links over which I have no control. If you are running WordPress, you’re in luck: the Broken Link Checker plug in makes fixing these errors easy. You can format them with strikethrough automatically, or [...]

  26. [...] Xenu, and I blogged about it here.  Not that there is anything wrong with Xenu, I just noticed Link Checker* and thought I’d give it a [...]

  27. 674
    Shane says:

    Thanks a lot for this plugin! Installing it right away!

Pages: « 118 19 20 21 22 [23] 24 25 26 27 2842 » Show All

Leave a Reply