Track down bad links with Linkchecker

linkchecker websites

There’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.

© Amy Tabb 2018 - 2023. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.