Issue: plugin finds broken links that don’t exist anymore
-
This plugin reports links that are broken while the source does not exist anymore, meaning you can’t fix the link because it doesn’t exist. Here is how to reproduce:
1) You have a page with links.
2) Broken link checker finds the link and stores it in the wp_blc_… database tables.
3) Now you delete the page from step 1 and also remove it from the trash.
4) Once the target of the link you had on the page doesn’t work anymore, the plugin reports it as broken. That’s wrong because you don’t have that link anymore, it’s gone because you removed the page that held that link (step 3).In step 3, when you delete a page, the plugin should also remove it from the wp_blc_… tables because it doesn’t exist anymore on your site so it doesn’t have to check it anymore. Or alternatively, when you check for broken links, first check if the page that holds that link still exists. If not, don’t check if that link still exists and/or don’t report it as broken.
Thanks
JP
- The topic ‘Issue: plugin finds broken links that don’t exist anymore’ is closed to new replies.