Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Report permanent redirects as errors in :external_links #1419
Report permanently redirected links as errors. Anyone concerned with link rot (e.g. anyone running this checker) will want to update their links as redirects tend to go away over time. This is the expected behavior for the 301 and 308 response codes in accordance with RFC 7538 and RFC 7231. I’ve written a wall of text on the subject for anyone who might be interested in the details.
Prior art: The popular (700k installs) Broken Link Checker plugin for WordPress reports on permanent redirects.
If required then this should be some generic something to filter out errors by status codes rather than an off switch per check-criteria.