Fixing Broken Links With the Internet Archive 79
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."
Please no? (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.
Re: (Score:2)
Not until you run out of stack space....
Recursion for the masses!
Re: (Score:2)
You do realize we're talking about the Internet Archive/Wayback Machine here? They already have backups of the old 4chan threads! This is just a way to make it easier to access that data.
The Archive, like Google, already crawls the web and caches pretty much everything. The difference is that Google replaces the contents of their caches when they crawl something a second time, while the Archive archive keeps both copies, with timestamps.
Re: (Score:1)
The archive doesn't archive any Chan. It doesn't archive the deep web or any hidden onion site. So no it won't.
Re: (Score:2, Offtopic)
You're absolutely right. Fuck me for wanting to read that article on first wort hopping from three years ago. What was I thinking?
Re: (Score:3)
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 [archive.org] to the rescue.
The suggestion is that when you click that bookmark you saved a
Re: (Score:2)
Yes it was, at least in part. The details on the old article's topic were completely unnecessary in order to make the point.
Re: (Score:2)
Whoa! What else do you want?
Tell the kids when they suck? Tell bad drivers the rollover was their fault? Admissions of guilt as part of multi-million dollar settlements?
Too much reality is bad for you, mate...
Re: (Score:2)
Presumably the wayback redirect would tell you the page does not exist, but the he last time it could be loaded, this was the content. What's wrong with that?
Resurect page (Score:2)
There's a FireFox extension called "Resurrect Pages" which already does this tastefully:
In case of error, it does display the error page, but the extension gives you the choice to look for the missing link in a few place (archive, google cache, etc.)
As long as they don't simply replace 404 errors, but give a choice to the end user, I'm for it.
Re: (Score:2)
I would agree that transparently going to the lost page is a bad idea but I would not be opposed to
a 404 error page that has a link to the last known copy of the link. What would be so bad about that?
It would save me the step of trying to find it in the google cache and/or the internet archive which
is what I tend to try to do if it is a link that I want.
No. 404 is important! (Score:1, Insightful)
To everyone who might think of subverting the HTTP standard to "helpfully" show me an alternative to a page that does not exist: fuck you.
I don't give a shit whether you're doing it because you want to advertise to me or because you want to altruistically show me what I'm looking for even if it doesn't exist anymore. Either way, you are still lying to me and breaking everything that relies on accurate error reporting. So quit it!
Re:No. 404 is important! (Score:5, 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.
Re: (Score:3)
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.
Re:No. 404 is important! (Score:5, 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.
This is being done client-side (Score:2)
A new error code won't help, because for that to work the original website would have to send it. But if a link is broken, then they already negelcted to send a usefull response code. This feature is about how the client responds to a 404 error, in which case the most honest thing to do is show the user the 404 message that the site provided, but also let them know that they can access an older version of the page if they wish. Which is pretty much how the existing Wayback plugins work.
Re:No. 404 is important! (Score:4, 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.
Re: (Score:1)
Sorry but that violates the standard as well. It must return a 404 or you break testing.
And if someone has a copy of that page, guess what, its not a 404 because its found. So they DON"T BREAK TESTING BECAUSE ITS FOUND. No one said, hey lets get rid of all 404s and on the pages that are actually dead send to goatse or the internet archive.
Re: (Score:2)
Re:No. 404 is important! (Score:5, 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.
Re: (Score:2)
so you use the robots.txt to keep internet archive and any other respectable crawlers out
Re: (Score:2)
The type of browser that would show old pages in the first place should be looked on as more likely to break robots.txt a well. As pointed out in other posts there are perfectly valid reasons to want a page gone, not archived. This precludes that choice.
Re: (Score:2)
First, archive.org won't keep anything you don't want them to -- DMCA. Second, you must have never been to archive.org; there's a banner at the top telling you it's archive.org and from the banner you can access earlier versions of the file.
Re: (Score:2)
the major search sites respect it, it's good enough
Redirect, don't 404. (Score:4, 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.
Re:No. 404 is important! (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 [jaybaldwin.com] 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.
Re: (Score:1)
Well if you want to use a browser extension to do something interesting when you get the error, that's perfectly fine. The problem is that if this idea were implemented, it would break things like Errorzilla and nobody would have a choice about it anymore!
Re: (Score:2)
Useful if (Score:1)
Solving one problem and creating 3 more. (Score:3)
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 it's gone use 410, not 404 (Score:2)
If it's gone use 410, not 404, see: http://www.w3.org/Protocols/rf... [w3.org]
Re: (Score:2)
Not gonna happen. Either the request or - presuming the slim chance the request *is* made - the serving of the 410.
I have my own domains and I don't even do it because I make a lot of trash files for test purposes and that's an incredible pain in the ass for pages no one is supposed to see but me a
Re: (Score:2)
As for trash files for test, you could keep them in a single directory and make a rule that if the file doesn't exist to return a 410.
Re: (Score:2)
Heck they just may no longer be in business anymore, and doesn't want people to think they are.
Have you never used the wayback machine? They leave no doubt where you are.
But we also have cases where we have a deliberate take down of information, due to legal, or personal reasons.
They won't archive anything you don't want archived.
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.
Archive.org doesn't host malware.
Broken link fixery could be good for education (Score:3)
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.
Cool! I can stop paying my hosting provider! (Score:4, Insightful)
Re: (Score:2)
Until some domain name spammer goes and hijacks the name and puts up a generic redirect for all URLs back to the home page full of ads.
This thing gets rid of 404s. It doesn't help if the 404 is replaced with a valid, b
Re: (Score:2)
You could do that as long as you intend to never change it. My old sites are there, although they're not complete. But who hangs on to a completely static page?
Ugly as sin... (Score:2)
Re: (Score:3)
Seriously, guys... get it together.
Feel free to do something about that [archive.org].
Historical Archives? (Score:2)
I have a number of historical archives to provide reference to what was being said and done back in the past rather than having that info disappear forever. they are not really web pages but rather web access to mailing lists etc...
I get requests to update the sites in them all the time, but have them set as read-only so keep the context under which they were written. So some of the web links included don't go anywhere any more but the main body of the text is valid for that period of time.
I like! (Better than OpenDNS) (Score:3)
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.
ah ... URLs as SMTP status messages (Score:3)
Just today, I sent some mail and got :
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.
Re: (Score:2)
see, your problem is you have friends / coworkers / clients that are still on AOL in the 21st century. they should be dead to you.
what internet archive needs (Score:2)
they need a search engine (witth optional date ranges). then they'd have something
Re: (Score:2)
There's one on their main page. Google site:archive.org works, too. [archive.org]
Re: (Score:2)
no! try it. that is NOT a search engine on their page! that just searches for site names
and using google with site:archive does not search their snapshots of web sites over the years, nor is there a way to search with date ranges.
the thing of which I speak does not exist, and they should build it.
I Have Experience in Internet Archaeology (Score:4, 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 [fleetsafety.com] 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.
/. effect (Score:2)
Not fast enough to be useful (Score:2)
There is no way I'm sending visitors to my site to the internet archive without careful forethought. It's just too slow. They won't thank me for it. I'll send them there for a particular media download, but not on a lark.