diff --git a/build/flaws/broken-links.ts b/build/flaws/broken-links.ts index f95ed9a60963..33e5c806d867 100644 --- a/build/flaws/broken-links.ts +++ b/build/flaws/broken-links.ts @@ -225,7 +225,10 @@ export function getBrokenLinksFlaws( // Note! If it's not known that the URL's domain can be turned into https:// // we do nothing here. No flaw. It's unfortunate that we still have http:// // links in our content but that's a reality of MDN being 15+ years old. - } else if (href.startsWith("https://developer.mozilla.org/")) { + } else if ( + href.startsWith("https://developer.mozilla.org/") && + !href.startsWith("https://developer.mozilla.org/en-US/blog/") + ) { // It might be a working 200 OK link but the link just shouldn't // have the full absolute URL part in it. const absoluteURL = new URL(href);