Obviously, having a professional librarian working on archiving data, code, and articles is ideal. However, I've found that the public facing side of journals experience bit rot even faster than most of the older blogs. Of course, there are exceptions, and even the most public figures can decide to delete everything, code included (e.g. _why)
Gwern has tackled link rot[0] in an exhaustive way, and may give you a starting point from where to continue.
Gwern has tackled link rot[0] in an exhaustive way, and may give you a starting point from where to continue.
[0]: https://www.gwern.net/Archiving%20URLs