Thanks to the SEOPress bot (PRO only), it can analyze your articles, pages and custom post types in order to find broken links (errors 404).
Find broken links
Go to SEO, Bot.
In Settings tab, check which post types to scan and Scan 404 only option.
In Scan tab, click Request the bot.
Wait until the end of the process.
Once finished, go to SEO, Broken links.
Fix your broken links
The first column represents the broken url.
The last column is the url where the broken link was found.
All you have to do now is edit your content to repair your broken links.