Relative Links
Say you have a relative link to another page:
How do you know that they work? 🤔 With lychee you can check that!
Here’s how to check all the links in your index.html
:
The --base
option takes a URL.
All relative links are resolved against this URL.
So all relative links will be prefixed with
https://example.com/
:
You can also check the links on a local dev
version of your website:
--base
also works with a file path:
For more information about the --base
option, see lychee --help
or the options page.