16

I keep running into broken links to Raymond Chen's Old New Thing blog posts, which are a very valuable resource for winapi / win32 programmers. There are probably close to a thousand of them site-wide on Stack Overflow and several other sites.

If an admin could do a bulk fix of the links in questions, answers, and comments it would upgrade the quality for many of them.

It's a simple replacement of the subdomain that Microsoft changed:

Old Old New Thing: https://blogs.msdn.microsoft.com/oldnewthing/20031111-00/?p=41883

New Old New Thing: https://devblogs.microsoft.com/oldnewthing/20031111-00/?p=41883

If the Old Old became the New Old, the Stack Overflow world would be a better place.

Edit: see @wizzwizz4's answer for a list of the older link patterns. The substitution above would fix the most recent of them but not the others.

5
  • 5
    To those voting to close this as "one site only", specific SO. This network wide search query leads to results on at least 5 or 6 different network sites.
    – Luuklag
    Oct 26, 2022 at 5:34
  • 4
    @Luuklag The OP initially focused mainly on SO. I have now edited the post to reflect that and retracted my close vote.
    – 41686d6564
    Oct 26, 2022 at 6:02
  • 2
    Sometimes the rest of us is forgotten. I'll go poke around a bit and see if a formal or informal approach might be better. Oct 26, 2022 at 6:14
  • 2
    Are you sure the domain name is the only change? Oct 26, 2022 at 6:51
  • 2
    @user3840170 - see wizzwizz4 answer below. My suggestion would fix the most recent set of old links but not the older ones.
    – Dave S
    Oct 26, 2022 at 16:59

2 Answers 2

9

Microsoft's moved The Old New Thing around quite a bit, and there are lots of different link formats:

These formats are in approximate chronological order, except for blogs.gotdotnet.com. It's so rare I can't pin down when it comes from.

I've been trying to figure out how to fix these links for a while, mostly because there are links on The Old New Thing in all of these formats. The Internet Archive isn't entirely useful, here. I suspect it might take somebody in Microsoft to rewrite all of the links.

As a bonus, I wonder whether it's possible to rewrite comment links? Those are used quite a bit in The Old New Thing posts, some of which can become a little hard to follow now they've rotted. (I haven't checked whether they're used on Stack Exchange, because they're mostly anchor links, and I don't know how to search for those.)

6
  • 1
    Fixing the comment links would be very helpful for SO. I've run into many answers where a comment from someone else points out an addition, warning, or correction using an Old New Thing link. I hesitate to add the link to the answer since the answer often works as it is.
    – Dave S
    Oct 26, 2022 at 16:53
  • 1
    @DaveS Oh, good point – hadn't thought about links in Stack Exchange comments. I was thinking about links to Old New Thing comments (as opposed to links to the posts themselves).
    – wizzwizz4
    Oct 26, 2022 at 20:54
  • The last time Microsoft moved the domain they also deleted all comments older than X on purpose. Most of them can be found by finding the correct old url on archive.org except for a couple of years where Microsoft delay loaded the comments with JavaScript, those are lost forever :( And don't get me started on msdn > msdn2 > msdn > docs > learn.microsoft.com. And on top of this, Microsoft is deleting old KB articles on purpose!
    – Anders
    Oct 4, 2023 at 3:21
  • 1
    There’s also a variant with /b/oldnewthing/ in a pathname. Nov 10, 2023 at 14:16
  • @user3840170 I couldn't place it in the chronology, so sort of gave up: do you have any idea where it goes?
    – wizzwizz4
    Nov 10, 2023 at 14:29
  • Earliest Wayback Machine snapshot under http://blogs.msdn.com/b/oldnewthing/ is from May 2010. Nov 10, 2023 at 15:40
8

I have a script which tries to repair all broken MSDN blog links, including Raymond Chen's. Because the original URLs used to be quite different from the current ones, e.g. the article hosted at http://blogs.msdn.com/b/oldnewthing/archive/2003/09/01/54734.aspx is now at https://devblogs.microsoft.com/oldnewthing/20030901-00/?p=42723.

However, these newer (but still broken links) look much more like the right ones; it's simply a find blogs.msdn.microsoft.com/oldnewthing/ and replace with devblogs.microsoft.com/oldnewthing/. That makes it a candidate for the automatic link replacement tool, especially since we're talking about almost 900 links (and this trick may work for more than just the Old New Thing).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .