[Feature] Follow "redirect permanent"
redcatbear opened this issue · 3 comments
Situation
When a server answers with HTTP status code 301 (redirect permanent) the link checker treats this as a broken link, even if the link the redirect points to a valid page that is served with 200 (OK).
Feature Request
It would be nice if the link checker follows redirects and evaluates the link health based on whether the redirect target is reachable with 200.
@redcatbear This relates to the underlying https://github.com/tcort/markdown-link-check library. I suggest you can check and submit a new feature request in that repository.
Hi @gaurav-nelson good point. Looks like someone had the same idea already tcort/markdown-link-check#151
So I would say this ticket here depends on that markdown-link-check issue.
I have stopped working on this action. Please try https://github.com/UmbrellaDocs/linkspector and https://github.com/UmbrellaDocs/action-linkspector instead.