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. Kamal Hasa says:

      Broken link checker plugin is very useful for both people and the search engine. I love it. Thanks for the share.

    2. Shawn says:

      We used link checker from some time now but, with the last link checker upgrade we are now getting the following error. Has anyone seen this error and know how to fix it?

      Error: The plugin’s database tables are not up to date! (Current version : 0, expected : 4)

    3. White Shadow says:

      This error shows up when the plugin has failed to upgrade its DB tables. You can deactivate/reactivate the plugin to force it to try the DB upgrade again. Also, you could try installing the development version.

    4. Joe says:

      Hi, I love the plugin, thanks. When I try to edit the page with the broken link I get this error:

      Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home2/distanc5/public_html/wp-includes/meta.php on line 197

      If I deactivate the plugin the error goes away. Any suggestions? Thanks.

    5. White Shadow says:

      Sorry, no idea why that happens. For what it’s worth, I’ll look into reducing the plugin’s memory footprint in the future.

    6. Joe says:

      Thanks for the reply.

    7. […] 失效链接检查:Broken Link Checker for WordPress,检查站点所有的链接是否有效 […]

    8. nikonik says:

      For some time I receive this message after I try to use the Broken Link Checked:

      “Error: The plugin’s database tables are not up to date! (Current version : 0, expected : 4)”

      I’ve got the latest update of the plugin and my WP blog works under latest version.

      Now all my URLs are in the work queue.

      How this can be fixed?

      Thanks for the help!

    9. White Shadow says:

      Try installing the development version (make sure you deactivate the plugin before installing this version). Once activated, it should display an installation log that tells you where the database update went wrong.

    10. nikonik says:

      Done! It works! Thanks! I appreciate it!

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

    12. […] Plugin: Broken Link Checker Author plugin site: Janis Elsts Plugin use example: See adjacent […]

    13. […] Another defensive thing is to make sure that outbound links don’t break. Install a broken link checker. […]

    14. […] Broken Link Checker – goes through all the links in the blog posts, even links to other posts within my site, and alerts me when the page cannot be find. I find it especially useful when I move for example galleries and other sub-pages around the site. […]

    15. […] 安装WORDPRESS第二天,对程序已基本熟悉,安装了诸如wp-useragent、失效链接检查器、No Self Pings、WP Super Cache、Akismet等插件。 […]

    16. […] PS:由于没有导入之前PJ上传的附件,包括图片链、附件链、音乐链、网址链等都无法使用,现行只能暂时运用【失效链接检查器】将已失效的链接取消,以待后续更新。 […]

    17. […] Broken link checker : er is een gloednieuwe versie in beta fase en zelf nog niet gebruikt maar staat op het to do lijstje. Checkt zowel interne als extern links op errors. […]

    18. […] with by the webmaster to inform visitors that the links are not working. The Broken Link Checker plugin is an excellent way of finding and removing broken links from a WordPress […]

    19. […] is a plug-in for WordPress called Broken Link Checker that helps you find them. It’s a simple […]

    Leave a Reply