• 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am constantly having issues with this plugin thinking links are bad that don’t exist anymore. You’d think clicking “recheck” would at least re-check the content of the page too.

    • This reply was modified 6 years, 7 months ago by Matt.

    Matt @syntax53 mmm yes that would also be possible, although the problem starts when there are broken links in it’s own database. If the plugin would properly maintain it’s own database there wouldn’t be an issue in the first place.

    The workaround I found, go to settings ? broken link checker ? advanced tab. All the way at the bottom, click the ‘check all pages button’. That clears the database and checks all pages to rebuild it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue: plugin finds broken links that don’t exist anymore’ is closed to new replies.