Automatically fixing links with the Wayback Machine

Broken links on the web are inevitable, but losing valuable context doesn’t have to be.

I’ve been working on a plugin at work, in conjunction with the Internet Archive, to help combat link rot on WordPress sites.

  • The plugin scans your content for outgoing links and checks the link statuses on an ongoing basis.
  • If a link is broken 3 times in 9 days, it gets redirected to a snapshot on the Wayback Machine if there is one.
  • The link continues to get checked, and if it comes back, the redirect stops.
  • The plugin also archives your site’s content on the Wayback Machine, future-proofing links that point to your site, too.

I consider this a “set it and forget it” plugin. One it is running, you don’t need to take any action. It works quietly behind the scenes. I’ve been running it on this site for months. Check out the links in Making Rosin and Fly Tying Wax… one of them is broken, and because it redirects to the Wayback Machine, you’ll be able to tell which one it is.

After a soft launch in October, the announcements went out today. I wrote the one for Automattic:

Fixing Links with the Wayback Machine – Automattic
Automattic is excited to collaborate with the Internet Archive to launch the Internet Archive Wayback Machine Link Fixer, a new free WordPress plugin that keeps your links alive.
automattic.com

One went out at the Internet Archive, too:

Preserving the Open Web: Inside the New Wayback Machine Plugin for WordPress  | Internet Archive Blogs
blog.archive.org

Glynn Quelch is the main person building it with me, and he has been an incredible collaborator. Thank you for your help, Glynn!

If your site runs on WordPress, consider installing the plugin to protect your links.


Update: TechCrunch picked it up!

The Wayback Machine debuts a new plug-in designed to fix the internet’s broken links problem | TechCrunch
Should a linked web page go offline, the new feature will then redirect readers to the archived versions, so that there is no drop in service. The tool also archives a user’s own posts, helping to ensure their longevity.
techcrunch.com

Other coverage:

Category:


Comments and Webmentions

3 responses to “Automatically fixing links with the Wayback Machine”

  • Chuck Grimmett
  1. […] So, I’ve decided to eventually migrate everything on this blog over to cagrimmett.com and retire this domain. I’ll redirect all the URLs, as a sizable part of my professional life recently has been dedicated to combating link rot. […]

  2. Oh wow. This is huge. My personal blog (Troutrageous) goes all the way back to 2007, I can’t imagine all the dead links this will prevent – not that many are reading it anyway, lol. Downloaded & installed!

Leave a Reply

Webmentions

If you've written a response on your own site, you can enter that post's URL to reply with a Webmention.

The only requirement for your mention to be recognized is a link to this post in your post's content. You can update or delete your post and then re-submit the URL in the form to update or remove your response from this page.

Learn more about Webmentions.