github-action-markdown-link-check icon indicating copy to clipboard operation
github-action-markdown-link-check copied to clipboard

[Feature] Follow "redirect permanent"

Open redcatbear opened this issue 2 years ago • 2 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 avatar Jan 13 '23 12:01 redcatbear

@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.

gaurav-nelson avatar Mar 07 '23 08:03 gaurav-nelson

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.

redcatbear avatar Mar 09 '23 18:03 redcatbear

I have stopped working on this action. Please try https://github.com/UmbrellaDocs/linkspector and https://github.com/UmbrellaDocs/action-linkspector instead.

gaurav-nelson avatar May 14 '24 12:05 gaurav-nelson