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

Pages: « 124 25 26 27 28 [29] 30 31 32 33 3442 » Show All

  1. 824
    Rudi says:

    Thanks for creating this plugin.

    This plugin make my work more easy….

    CAN I REQUEST A NEW FEATURES?
    Can you add some features for check and fix broken link on comment page?
    Thanks before

  2. 825
    Guide Delini says:

    Thanks a lot for your plugin.
    I have two requests:
    1 – I use the PODS plugin which allows to add custom pages : is it possible to check links in PODS? or in other page…
    2 – When using the broken link checker, the referrer is set to the domain name; is it possible to set the referrer to the page where the link is found? Otherwise, the external site may think it is spam referrer. Moreover, if the referrer is set with the page where the link is, you may win some links back. Good for SEO.
    But again, great plugin!

  3. [...] a lot of development, and some features definitively need improvement, but it’s very useful. Broken Link Checker for WordPress | W-Shadow.com VN:F [1.7.6_1010]Rating: 0.0/10 (0 votes [...]

  4. 827
    White Shadow says:

    @ Rudi : Yes, it’s on my to-do list ;)

    @ Guide Delini : I’ll take a look at PODS, but no guarantees. Using the post URL as the referrer might be doable, but it would further increase the plugin’s resource usage (if only slightly).

  5. [...] Installed the Broken Link Checker on all of my sites. Now, I will automatically know if any links are [...]

  6. 829
    Asmodiel says:

    Hi there!

    As i stated before, the plugin has problems with the temp dir on open_basedir affected systems. I like your idea of the error catching (about line 2790, core.php) but it only works when i first check the ini_get(‘upload_tmp_dir’), because the other one throws the same error because you aren’t even allowed to check whether a folder is writable when it’s outside the open_basedir.

    So you just have to change the order of the two if()s.

    Thanks,
    Asmodiel

  7. 830
    White Shadow says:

    “Neveeer!”
    * Runs off laughing maniacally *

    But seriously, that sounds like a bug in PHP, and I’ve still got a few ideas about how to work around it. Try the latest development version.

  8. [...] solch ein Unterfangen ganz erheblich erleichtern: Search & Replace von Frank Bültge und der Broken Link Checker von Janis Elsts, um mal die beiden wichtigsten zu nennen, die mir heute den Tag gerettet haben. [...]

  9. 832
    FizzyPopMan says:

    Hi.

    First of all… great plugin. Thanks!

    Just to let you know, I did the automatic upgrade today and I got the “can’t create a lockfile” error message (not sure why as the directory was writable). Anyway, I uninstalled the plugin, downloaded the new version from the WordPress site, and it now works fine.

    Just thought you might want to know!

    Cheers
    Fizzy

  10. 833
    White Shadow says:

    I changed around some of the code that detects if a directory is writable, so I guess I might have introduced a new bug. Let me know if it happens again.

  11. 834
    Asmodiel says:

    Wow, you finally managed it to purge all bugs from the activation and installation on a open_basedir affected server!
    Thank you, now I don’t have to change the file manually each update :)

    Asmodiel

  12. 835
    SCMG says:

    Greetings…

    I have the same error as “fizzy” above:

    Broken Link Checker can’t create a lockfile. The current temporary directory is not accessible; please set a different one. Details.

    I can’t seem to get it to relinquish – I’ve completely uninstalled / removed – and reset up – to no avail… any suggestions ???

  13. 836
    White Shadow says:

    So the new “writability-detection” algorithm works on sites where it didn’t work before (e.g. Asmodiel’s) and doesn’t work on sites where it did (Fizzy & SCMG).

    I’ll modify the plugin so that it only uses the new algorithm when open_basedir is set, as in Asmodiel’s case. An update should be out soon.

  14. 837
    PK says:

    Hi, when i use the plugin it tells me: Broken Link Checker can’t create a lockfile. Even after i create a new directory, made it writable, i get the same message, what could it be? no debug info, everything is working, curl,snoopy all of that………what could it be?

  15. 838
    White Shadow says:

    Do you have the latest version (0.7.2)? If not, wait until you get the update and then try again.

  16. 839
    PK says:

    yes latest version…

  17. 840
    White Shadow says:

    Hmm, I don’t see why that would happen. What’s your lockfile location? Is open_basedir set on your server? (you can find out by going to Settings -> Link Checker and clicking “Show debug info”).

  18. 841
    PK says:

    lockfile location /public_html/wp-content/lockfiles

    open_basedir is on, i just encountered another problem, it gets stuck after checking half of the links, now it does nothing, i set max exucution time to 600 but no luck…

  19. 842
    White Shadow says:

    So you’re using a custom directory for the lockfiles?

  20. 843
    PK says:

    yes because after activating the plugin i got imidiatly the message: Broken Link Checker can’t create a lockfile. First i made the blc directory writable but that had no affect then tried a custom path, also no affect.

  21. 844
    PK says:

    i forgot to mention that with or without using a custom path i also get this message every time: Error : This directory doesn’t exist.

  22. 845
    PK says:

    its been like this http://i46.tinypic.com/1fy3hx.jpg for an hour now, doesnt do anything

  23. 846
    White Shadow says:

    Try the development version. If that doesn’t help, I suggest temporarily downgrading to version 0.7 while I try to fix this bug.

  24. 847
    PK says:

    okay thanks i will try :)

  25. 848
    PK says:

    Yep downgrading did the trick works good!

  26. [...] * Bro­ken Link Check [...]

  27. 850
    DJ says:

    Pls fix Version 0.7.2, i had the same problem with PK: Broken Link Checker can’t create a lockfile.
    Thank you.

  28. [...] Broken Link Checker – identifică link-urile nefuncţionale; [...]

Pages: « 124 25 26 27 28 [29] 30 31 32 33 3442 » Show All

Leave a Reply