Track down bad links with Linkchecker
25 May 2021There’s this neat little tool to track down dead links in websites that I used a couple years ago and then somehow forgot about, LinkChecker.
Install with
sudo pip install linkchecker
note you need to specify use --check-extern to check extern URLs.
, but even checking internal ones helps tremendously.
A note, with a website I generated with Jekyll at http://127.0.0.1:4000//
, I’ll need to run
linkchecker http://127.0.0.1:4000
No trailing backslashes! Include the backslashses, and you’ll get output that suggests the check was successful, even if it should not be.