A post is ready with copy about a specific product and a link to its product page. Before publication, the product page starts redirecting to a sold-out collection. The link still ends at a page that returns a 200 status, but the destination no longer matches the copy. A check for broken links alone would miss it.
For a quick pre-publish check, extract links from the caption and link fields, follow redirects with a short timeout, and save the original link, final destination, response status, and redirect chain. Compare the final domain with the expected one. If it changes unexpectedly, flag the post for human review rather than treating the successful response as approval. In this example, the domain may stay the same, so comparing the final path with the approved product path also matters: a move to a collection should be visible to the reviewer.
That is enough for a prototype: show the editor where the link now lands and let them keep the post, change the link, or revise the copy. It does not need to determine stock availability; a 200 response cannot prove that anyway. If the check becomes routine, cap the number of redirects and log timeouts separately from destination changes, so a slow page is not reported as the wrong page.
What link failures do you catch most often, and do you check at draft time or immediately before publishing?