Slashdot Mirror


Fixing Broken Links With the Internet Archive

eggboard writes "The Internet Archive has copies of Web pages corresponding to 378 billion URLs. It's working on several efforts, some of them quite recent, to help deter or assist with link rot, when links go bad. Through an API for developers, WordPress integration, a Chrome plug-in, and a JavaScript lookup, the Archive hopes to help people find at least the most recent copy of a missing or deleted page. More ambitiously, they instantly cache any link added to Wikipedia, and want to become integrated into browsers as a fallback rather than showing a 404 page."

17 of 79 comments (clear)

  1. Please no? by DMiax · · Score: 3, Insightful

    ...want to become integrated into browsers as a fallback rather than showing a 404 page

    Fuck no. If a page does not exist it does not exist.

    1. Re:Please no? by mcgrew · · Score: 2

      Methinks a moderator needs more coffee, that wasn't offtopic. Let me explain the parent's point, since at least one person was too dense to understand.

      The GP said "when a page is gone it should be gone", WHY? That's insane. Say you want to get out that old Quake game and want to look up console commands. You're not going to find that great site because it lapsed a decade ago (the parent used beermaking as his example).

      Archive.org to the rescue.

      The suggestion is that when you click that bookmark you saved a decade ago, rather than a 404 you get archive.org's copy. However, this might not work in some situations, like when a site is abandoned and someone else registers the name.

      If you don't want your site archived, they'll take their copy down.

  2. Solving one problem and creating 3 more. by jellomizer · · Score: 2

    If there is a dead link, there is usually a reason why it went dead.
    Sure we get the odd server down. But we also have cases where we have a deliberate take down of information, due to legal, or personal reasons.
    Heck they just may no longer be in business anymore, and doesn't want people to think they are.

    Also the Last Page, may not be a good page to point to, as it may have been a victim of an attack and have harmful information on it.
    404 means the page is dead, we should deal with that. Also, there are some web services that use the http error messages to send information across, having the browser say otherwise can prevent debugging.
    Also it can create lazy companies, why bother hosting your stuff, when you got someone else to do it for you, and you just have it up for some time and take it off. No more hosting for you.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  3. Re:No. 404 is important! by Sarten-X · · Score: 4, Insightful

    Supply HTTP code 404, and provide the content of the old page, preferably with a large banner saying "we couldn't find it, but here's what we had before".

    I believe that meets all applicable standards. Automated systems should recognize the 404 code, and human systems (which won't likely see the underlying code) will see the banner.

    --
    You do not have a moral or legal right to do absolutely anything you want.
  4. Broken link fixery could be good for education by GoodNewsJimDotCom · · Score: 2

    Right now the Internet is an excellent place to get an education... if you're an active learner.

    Someday spoonfed education will be there with these new "universities" online compiling information and lessons

    Right now if you wanted to, you could write a webpage that links to a zillion different small lessons that would build into one real lesson to get you day to day on subjects from K-12-College. The reason I never wrote this "index of lessons:virtual textbook of interactive material" was because of link rot.

    I could spend several months compiling up a "virtual textbook of interactive material", but link rot would destroy it over time.

    I just assumed it wouldn't be worth my time because I wasn't certain if I could out index the link rot. Now if link rot is fixed with the Internet Archive, someone could sit down and link all these links, adding in a time too. This way you'd have a URL with time/date data. So if the link ever changes into something that is not the lesson you wanted, like a new blog entry, or even a shock pic, the old time/data data would indicate to the Internet Archive to do that.

    So I think what they're doing is a good idea if I know one application I'd personally use it on. I'm sure there'd be others.

  5. Re:No. 404 is important! by game+kid · · Score: 2

    Absolutely agree. Give a nice little popup balloon, visibly separate from the web page (i.e. not like one of those in-client-area IE information bars; make it pop out as window size allows), that says "This page could not be accessed (error err_code). Below is an earlier version from archival_group. [ [ ] Do not show archived versions ever again, you dummy ]". (Maybe with more user-friendly language.) Problem solved.

    --
    You can hold down the "B" button for continuous firing.
  6. Cool! I can stop paying my hosting provider! by barlevg · · Score: 3, Insightful

    While I honestly think this is an awesome idea, I wonder, if this takes off, whether anyone who currently pays for web hosting of a static site will decide, "fuck it--it's backed up on Internet Archive. Might as well save the $N a month I pay to maintain the website and lease the domain name."

  7. Ugly as sin... by gr4nf · · Score: 2

    The idea's in the right place but I'd hesitate to let anybody with so ugly and poorly maintained a web presence as archive.org into the inner workings of my browser. Seriously, guys... get it together.

    1. Re:Ugly as sin... by Minwee · · Score: 2

      Seriously, guys... get it together.

      Feel free to do something about that.

  8. Re:No. 404 is important! by bill_mcgonigle · · Score: 5, Informative

    Chillax, dude, it's simply a matter of implementation and preferences.

    While archive.org might think this is a new idea, I've been using Errorzilla mod for the good part of a decade. When a 404 is encountered, you get the regular error page, and then it adds some buttons that let you look at the Google cache, Coral cache, Wayback archive, etc.

    Quite useful and non-harmful.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  9. Re:No. 404 is important! by Minwee · · Score: 4, Insightful

    Sorry but that violates the standard as well. It must return a 404 or you break testing.

    RFC 2616 mandates a 4xx error code followed by an optional human readable reason phrase. While the reason phrase is usually "Not Found" for a 404 error, there's nothing keeping it from being augmented by "...but a copy of a previous version is over there."

    If your testing relies on anything beyond the numeric error code, then it's probably already broken.

  10. Re:No. 404 is important! by amorsen · · Score: 3, Informative

    The only way this can be implemented without causing problems for others is to have it be an option in the browser for those who want it to do the additonal lookup.

    That is the proposal. The browser does it. The web server still returns 404, so your code does not have to work around anything. This is not the NXDOMAIN redirection fiasco.

    --
    Finally! A year of moderation! Ready for 2019?
  11. I like! (Better than OpenDNS) by rueger · · Score: 2

    We use a service to fake Netflix into believing that our TV is the US and not Canada. Many Canadians do this.

    However, the service that we use replaces our ISP's DNS with OpenDNS.

    Instead of presenting nicely a formed 404 message, with the offending URL in the location bar, OpenDNS offers up a useless message:

    "Oops! www.bvyhuigyi.com is unavailable. Please check domain for spelling errors and try again."

    And replaces the URL that you had entered with www.website-unavailable.com

    In practical terms, it means that if you mistype a URL you can't just go "oops" and fix the one charter that was in error - you need to retype the whole damned address.

    I'm sure that someone at OpenDNS could argue for this being a "feature," but I'd call it a bug.

    I really wish it was possible (or at least easy) to turn off this thing and just get a regular 404 message. And yeah, having the option of clicking through to an archived version of page would be good.

  12. ah ... URLs as SMTP status messages by oneiros27 · · Score: 2

    Just today, I sent some mail and got :

    ----- The following addresses had permanent fatal errors -----
    <[CENSORED]@aol.com>
          (reason: 521 5.2.1 : (CON:B1) http://postmaster.info.aol.com...)
    <[CENSORED]@aol.com>
          (reason: 521 5.2.1 : (CON:B1) http://postmaster.info.aol.com...)

    Too bad AOL seems to have taken those URLs down. A quick hop to archive.org told me that my ISP's been blocked for sending spam ... oh, joy.

    --
    Build it, and they will come^Hplain.
  13. Re:No. 404 is important! by SunTzuWarmaster · · Score: 4, Interesting

    So let's say that my company has three lines of products on three different webpages. We decide to discontinue two of the lines of products for being unprofitable, and remove the pages. Google search results still show the pages, and archive.org still shows them to users. These products are still shown to my potential customers, who experience frustration when they attempt to get them.

    Alternately, I create a temporary webpage for displaying some demo content to a potential client. It is a demo page, and ridden with bugs, holes, and other areas that need improvement. Archive.org still shows this page as part of search results? What will potential clients think of my company, given that it put up a buggy/terrible page?

    Alternately, let's just say that I rename a longstanding webpage (technology.slashdot.org to tech.slashdot.org) and delete the old URL. Should archive.org redirect to false content?

    Or, let's say that my restaurant decides to take down its 2013menu.html page, and doesn't wish customers to be able to compare its new and old menu side by side to see where prices inflated.

    Error messages have purpose. While the most common case is that the page/server went offline, there are many times where a page URL changes as a result of regular website updates, where you don't want users to obtain old content.

    Sometimes things are deleted for a reason.

  14. I Have Experience in Internet Archaeology by IonOtter · · Score: 3, Interesting

    There was a fascinating website dedicated to high-energy weapons and experiments, called svbxlabs.com

    It was run by a young man who'd been born in the US to Ukranian immigrants, which is actually important to keep in mind. He was brilliant, at least in my eyes, putting together the most incredible devices. HERF cannons, railguns, Tesla coils; you name it. He was the first to explain what the OptiCom traffic Light Changer was, and how it worked.

    In short, he was doing a lot of work on things a LOT of people would much rather he didn't. Things were zipping along nicely, and his college professor was very excited to see what he came up with next.

    Then 9/11 happened. Within four months, the site was gone. And Slava Person vanished from the Internet not long after that. Other people took up the mantle of his work, such as powerlabs.org, but it's not as good as Mr. Slava's work had been.

    But if you put svbxlabs.com into WBM/A.O, you can find most of what he did. Also, one of the problems of WBM/A.O is that you can't just click on the links. Sometimes you have to copy them, then enter them into the WBM window, otherwise your browser tries to go to the direct link. Which no longer exists.

    I've also used it to find all kinds of fan fiction, role-playing games, artwork and more.

    I approve of this.

    --
    [End Of Line]
  15. Redirect, don't 404. by pavon · · Score: 3, Insightful

    None of those examples should result in a broken link if you are maintaining your website correctly. And this feature is only "fixing" broken links; that is links that once existed and are now 404'ed.

    If you want to discontinue a product, then replace those pages with one that explains that the product is discontinued, and provides links to simular current products, as well as the support page for the discontinued product. If a users is clicking on links in reviews or forum posts about your old product and receive 404's, or redirection to a completely unrelated and unhelpfull page on your site, they will be frustrated with or without this feature.

    In the second case, just redirect the entire demo website URL tree to a current list of examples.

    In the third case, you shouldn't do that without redirecting the old url to the new one. Seriously, are you trying to make your content hard to find?

    Again, redirect to the new menu.

    In no case is sending a user a 404 useful or benificial, nor is it the most appropriate thing to do according to the HTTP standard. If you really want to be pendantic then send a 301 or 303 to perform the redirect, otherwise use URL rewriting, or just change the contents of the existing URL, whichever is easiest. The user should only see a 404 if they clicked an invalid link that was never a real URL for your website. Otherwise, you have failed your users, and it's no-one's fault but your own if they choose to use a service that tries to make up for your short-commings.