<<< hello (new) world

Home


waybackification unlocked

Tuesday,  11/24/26  12:01 PM

So, what’s with the green links?  And the dark red ones?

Many months ago (wow was it really back in May 2024 … whew) after I completed my mail API, I thought about Waybackifying Links.  It has become apparent, now that I’ve been blogging for 26 years (!), that the Internet does not hang around and a lot of those pages I linked to way back then are no longer there.  Or at least, they’re no longer “there”, but many of them are archived on the Wayback Machine.

At that time, I was thinking of a logic like this:

  • Is the link waybacked? If no, well, too bad.
  • Is the link (or site) truly dead? If so, waybackify the link.
  • Else compare the linked-to page to its waybacked copy. If they are "sufficiently different", assume the link is dead (and/or the content has been changed) and waybackify it.

So now I’ve completed my waybackification, and while it is supercool, it wasn’t quite as straightforward as I’d thought.

The first thing was that some links go to sites rather than pages.  (E.g., I’m referring to a blogger or blog rather than a specific post, or a magazine rather than a specific issue, or a company.)  And those sites change – for example, the home page of a blog or magazine or company is never going to be the same as it was.  But my intent was to link to the site, not a specific page.  So links to the root of a site should be treated differently from deeper links.

The next thing was that some targets evolve over time.  For example, since time zero I’ve linked to Citydesk, the blogging tool I used for 20 years.  In the early days it was a link to the product page on the company’s website.  Then later the same URL linked to a blog post announcing the sunsetting of the tool.  Later the same URL linked to the company’s home page.  And later still, after the company was acquired, the same URL redirects to the home page of a different company.  Wah!  So what do I do with this link, leave it or waybackify it, and if I do, to which version?  I decided to wayback it, so it looks like it did when I posted it.

Some domains change but the content does not.  For example all twitter.com links are now X.com links, but the URIs are the same and the content is the same.  So leaving these links alone is fine.

Another thing – some sites, especially blogs, have different URLs for items found via their RSS feed than for the original source pages.  This is a bad practice for many reasons, and one of them is they are now unsalvageable links.  There might be a way to find the original source page and link to it – or at least to find the waybacked version of the original source page – but the mapping will be blog-specific (or at least, blog-RSS-tool-specific), and so this process can’t be automated.  At this point those are just dead links.

Anyway here’s what I decided to do:

(given: link URL, date)

  • Is the link valid (does it return content)?
    • No: try to waybackify as of the date of the page

(response)

  • Is the link at the domain level (root)?
    • Is the new domain the same as the old domain?
      • Yes: done – link is okay
      • No: try to waybackify as of the date of the page

(response, not a root page)

  • Is the page available from the archive as of the date of the page
    • No: done – leave the link alone

(response, not a root page, is available from archive)

  • Compare the text of the current page to the archived page (removing all HTML).  If 50% of the content matches, leave the link alone, else, try to waybackify as of the date of the page

I’ve added a style to each waybackified link.  Waybackified links are green.  Links which are confirmed dead are dark red.  So that’s what’s going on with the green links!

I really really like this.  Not only is all that old content now accessible – so cool seeing all those old sites (and amazing how many my neurons still remember!) – but nobody has to waste time clicking the bad ones.

Onward!

Some stats, in case you are interested:

==== waybackify summary ====
posts scanned:                 3589
posts with changes:            2151
links found:                   33502
external links checked:        24134  (17906 unique)
. waybacked:                   11666
. marked deadlink:             3127
. dead, no snapshot (left):    4264
. blocked/challenge (left):    1888
. live and fine (left):        7899
internal links checked:        7627
. broken internal:             211  (41 with suggested fix) – note these also waybacked

PS if you, too, would like to waybackify, let me know