This is something that keeps me worried at night. Unlike other historical artefacts like pottery, vellum writing, or stone tablets, information on the Internet can just blink into nonexistence when the server hosting it goes offline. This makes it difficult for future anthropologists who want to study our history and document the different Internet epochs. For my part, I always try to send any news article I see to an archival site (like archive.ph) to help collectively preserve our present so it can still be seen by others in the future.
Another problem is that even if sites and their content stay up they often reorganize it for various reasons - often by importing old content into some new platform - and don’t care about the URLs the content is available at. Which breaks all links to it.
Some pages at least try to show you a page with suggestions what you might’ve been going for, but I’ve also seen those less and less over the years.
For my stuff I’ve been making sure to keep links working for over two decades now - on my personal page you can still access everything similary to /cgi-bin/script.cgi?page even though that script and the cgi-bin directory as a whole has been gone for over a decade. But I seem to be pretty alone in efforts trying to keep things at stable locations.
edit: I just noticed matrix.org broke all links coming from google search at least for bridges. They should’ve known better.