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! (40 KB)
Note : This page, and the feature list below are slightly out of date as a major update has been released recently (see details). I’ll get around to updating this page eventually.
Features
- Checks your posts (and pages) in the background (whenever the WP admin panel is open ).
- Detects links that don’t work and missing images. Checks both internal and outbound links.
- Notifies you on the Dashboard if any problems are found.
- Link checking intervals can be configured.
- New/modified posts are checked ASAP.
The broken links show up in the Manage -> Broken Links tab. If any invalid URLs are found a notification will also show up in the sidebar on the Dashboard.
The Broken Links tab displays a list of invalid URLs found along with the relevant posts and the anchor text of the links. “View” and “Edit Post” do exactly what they say and “Discard” will remove the message about a broken link, but not the link itself (so it will show up again later unless you fix it; this plugin doesn’t modify your links).
By default all old posts/links are re-checked every 72 hours, or you can set a different time period.
Notes (Semi-Technical)
I realize there’s a lot of features that could be added to improve this plugin considerably. However, this release is intended to “test the waters” and see if there’s demand for a plugin like this, so I only implemented the most basic functions. The plugin has been upgraded to be slightly beyond “basic”
I thought about using WP’s pseudo-cron to run the link checker by schedule and decided against it. AFAIK the cronjobs execute when a page is requested; since this plugin does some lengthy processing it may increase page load times unacceptably when used in this manner. That’s why I set it to run the checks asynchronously (AJAX) and invisibly in the admin panel.
Installation
Just like any other WordPress plugin -
- Download (see below).
- Unzip.
- Upload the broken-link-checker folder to you wp-content/plugins directory.
- Activate the plugin in the Plugins tab.
Upgrading
- Deactivate the plugin (important!).
- Do steps 1.-3. from “Installation”.
- Upload the broken-link-checker folder to you wp-content/plugins directory.
- Re-activate the plugin in the Plugins tab.
Download
Version 0.5.3 : broken-link-checker.zip (40 Kb)
Requirements
- WordPress 2.7 or later
- MySQL 4.1 or later
Starting with version 0.5 this plugin is only compatible with WordPress 2.7 and up. Older versions (e.g. ver. 0.4.14) should work with WP 2.1 – 2.6.x.
Related posts :
I’ve had a similar idea for a while; I’ll add it soon.
[...] 配布先:http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/ [...]
Hey, this is a great Tool,
but when this is activate, the Plugin Site is only white.
Can you Help?
[...] Broken Link Checker^ – I have a full time job and, I’ll admit, checking through every single page of my site, looking for broken links, is tiresome and just plain boring. That’s where this Plugin becomes very useful for me; I install this Plugin and it keeps an eye on links for me. When I open up my admin panel, I get a little message saying that “there are [x] broken links”. As well as that, it warns my visitors that a link isn’t working by putting a line through it until either I remove the link or update it. [...]
[...] Broken Link Checker for WordPress – когда у блога все больше и больше постов, становится трудно найти неработающие ссылки и изображения. Плагин сделает всю работу за вас. [...]
[...] website and have vanished leaving nothing but a 404 error in their place. I found a useful plugin to help with the link rot problem which has revealed around 80% of my broken links point to [...]
[...] Broken Link Checker [...]
[...] Broken link checker wordpress plugin comes very handy in such situations. It will show the broken link on your dashboard which you can unlink from there. Download Broken link checker for WordPress [...]
[...] kurzem berichtete ich (hier) darüber, dass ich das Plugin Broken Link Checker in den Blog einsetze. Heute morgen habe ich mich endlich hingesetzt und die insgesamt 53 ins Leere [...]
[...] Broken link checker wordpress plugin comes very handy in such situations. It will show the broken link on your dashboard which you can unlink from there. Download Broken link checker for WordPress [...]
[...] Broken Link Checker: وجود لینک های خراب در یک وبلاگ، در رتبه بندی و ایندکس گذاری ها توسط سایت ها و موتور های جست و جو تاثیر گذار است. به وسیله ی این افزونه شما می توانید به راحتی لینک های خراب کل وبلاگ خود را بیابید و آنها را ترمیم کنید. [...]
[...] 8. Broken Link Checker [...]
[...] http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/ [...]
[...] Broken link checker wordpress plugin comes very handy in such situations. It will show the broken link on your dashboard which you can unlink from there. Download Broken link checker for WordPress [...]
[...] 3. Broken Link Checker [...]
[...] searching for plugins that can help me manage my blog I came across the Broken Link Checker For Wordpress plugin. The features of this plugin [...]
[...] Por lo tanto, lo que necesitas para controlar tus links y tener solo links consistentes es Broken link checker for WordPress. [...]
[...] depuis quelques temps un plugin Wordpress: Broken Link Checker. Comme la plupart des plugins Wordpress, il est super facile à installer, mettre à jour, et [...]
[...] for Dead Links [Day 27: 31DBBB] ∴ I use broken links checker http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/ which is pretty useful because it checks old posts on a regular basis and new posts too, so when I [...]
I love this plugin and I’ve been using it for a while. However, I’ve been getting some false positives, in particular from IMDb. I review movies for fun and always link to IMDb, both movie titles and actors. I have over 17 false positives right now. Is there a way to fix this?
Thanks!
I’ll be releasing a new version of the plugin relatively soon (hopefully next week, with a public beta coming ~tomorrow). I suggest waiting for that and, if you still have the same problem with the new version, get back to me and I’ll see what I can do.
[...] Broken Link Checker [...]
[...] plugins que pueden ayudar muchísimo a mantener nuestro blog en buenas condiciones, como el Broken Link Checker o el WP Database Backup. Pasen por Designer-Daily y vean los 6 plugins muy útiles que [...]
[...] *Broken Link Checker No one likes clicking on a link to find out that hey, there’s nothing there. With the broken link checker, it will search your site to ensure all links are working. Big plus for those who have transferred their blogs. [...]
[...] Link Checker 0.5 BETA The next major update of the Broken Link Checker plugin is almost done. I’ve added several new, oft-requested features and rewritten most existing [...]
[...] Broken Link Checker – Falls ein Link in einem Deiner Posts nicht mehr funktionieren sollte wird es Dir im Dashboard angezeigt. [...]
[...] los demás, hay dos que realmente son muy potentes uno es el Broken Link Checker y el otro es WP Database Backup. Les recomiendo que vean los demas y verán que si todavia [...]
[...] 1. Broken link checker [...]
[...] Broken Link Checker [...]
[...] 1- الأضافة الأولي :Broken link checker [...]