Should a queued post check its link before publishing?

A product post contains a shortened link. It redirects to a campaign page, which redirects again to the product page. Now suppose that last redirect changes to the store homepage. Every response in the chain may be successful, but the caption no longer takes readers to the product it describes. Checking only whether the first URL responds would miss the problem.

A lightweight pre-publish check can start with one queued post: extract URLs from its caption, follow each redirect with a timeout and a hop limit, then record the final destination and status. Compare the final domain and path with what the person preparing the post expected. A broken destination or a surprising domain change gets flagged for review before the post goes out.

The failure decision needs a little care. A 404 or 410 at the final destination is a clear flag. A 429 may call for a later retry, while a 403 can mean the checker was blocked even though a reader could open the page. And a 200 on a generic homepage does not prove the link is right. Log the redirect chain and reason for the flag so someone can inspect it without retracing every hop.

I’d try that on one batch before adding more rules. Which link checks would be worth putting in front of your publish queue, and which would create too many false alarms?

Store an expected destination with each queued post. A successful response does not mean it is the right page: compare the final host and meaningful path with that expectation, ignoring nonessential tracking parameters. Hold the post for a clear host mismatch or confirmed unreachable final page; send ambiguous path or query differences to review rather than treating them as failures.

Run a last-mile link recheck shortly before the scheduled publish time. A redirect can change while the post sits in the queue, even if it passed the initial check. Could you run the check five minutes before release, record its timestamp with the queued post, and confirm that a rescheduled post gets a fresh check rather than relying on the earlier result?