Re-checking all pages or re-checking selected links misses broken links
-
?? Screen recording for a convenient and detailed impression of what’s described below as text.
ENVIRONMENT
– WordPress 5.8
– Broken Link Checker 1.11.15
– Plugin “Redirection” was once installed for some tests. But is now inactive. The whole website is in construction and currently behind a login wall. I have no external incoming link or SEO concerns yet. But maybe some redirections are still persisted somewhere? In .htaccess itself nothing extra-ordinary is persisted.
–open_basedir
was ON during install time and during the initial broken link checker run. Later I turned it off in my webhost setting but it nevertheless seems to be effectively on many hours later.REPRODUCTION I
1) Target page: Created at/skills/tools/snagit
2) Source page: At/
“Home” created a link with text “Snagit” to/skills/tools/snagit
3) Target page: Changed slug and therefore path/skills/tools/snagit
to/skills/tools/snackit
which may become necessary somewhen in the life of a pretty-url.
4) All incoming links are now broken, i.e. the one from the homepage.Maybe the scheduled run would have caught those correctly. But for testing the plugin I did not want to wait for the next scheduled run but instead wanted a manual re-check. Both offered options failed to detect the broken link. Even a re-install didn’t help.
ATTEMPT 1:
– Opened: Tools > Broken Links > Detected Links > All > Sorted by source.
– At source/
“Home” I saw a target link/skills/tools/snagit/
which we know to be broken.
– Clicked its “Re-check” action
–> Still falsely shows as 302 OK.ATTEMPT 2:
– Settings > Link Checker > Advanced
– There I clicked “Re-Check all pages” which I let run until completed.
– Opened freshly: Tools > Broken Links > Detected Links > All > Sorted by source.
– At source/
the link to target/skills/tools/snagit/
falsely still shows as 302 OK.
Despite when webbrowsing/
and clicking/skills/tools/snagit/
you get a 404 not found.ATTEMPT 3:
– Uninstall Broken Link Checker.
– I checked in phpMyAdmin and all tables were indeed deleted.
– Reinstalled, activated, waited for initial run to complete.
–> Still no broken links gets caught.REPRODUCTION II
– Additionally renaming in the middle part of the page hierarchy:
/skills/tools/snackit/
gets/skills/toolz/snackit/
– Both attempt 2+3 catch nothing.REPRODUCTION III
– Changing slug itself back but the middle part of the page hierarchy remains renamed
/skills/toolz/snackit/
gets/skills/toolz/snagit/
–> Now redirection works!
– Clicking link/skills/tools/snagit/
redirects to/skills/toolz/snagit/
– Only the middle part of the link differed to the current URL, and start and end of the URL were correct.
– WP core’s fuzzy logic seems to handle this scenario at least.
- The topic ‘Re-checking all pages or re-checking selected links misses broken links’ is closed to new replies.