Skip to content

Broken link checker

What

Broken links on a site cause issues.

During the migration of bookstack to mkdocs, there were a LOAD of links that broke

How

We can use a tool like blc to programmatically check for broken links

Installing

npm install broken-link-checker -g

For more information, see stevenvachon/broken-link-checker

Using

blc https://bookstack.breadnet.co.uk

Example output

➜ blc https://bookstack.breadnet.co.uk
Getting links from: https://bookstack.breadnet.co.uk/
├───OK─── https://squidfunk.github.io/mkdocs-material/
├───OK─── https://breadnet.co.uk/favicon.png
... etc

Alternatives

If you're running a markdown site, you can also use Lychee

Lychee Link Checker


Want to make this site better? Open a PR or help fund hosting costs