Provide option to delete linkchecker entities with status code <4xx

Created on 26 October 2023, about 1 year ago

Problem/Motivation

If a link leads a non-existent site, e.g https://asdfadsfadsfadsf.com, no status code gets associated with the link. This means that a view which filters by status code will not show these links.

This is an issue because without filtering by status code, the linkchecker view will simply return all linkchecker entities, including entities with 2xx and 3xx status codes. This is not helpful as I, and I assume most users need a view which will show links which only return a 4xx or greater status code.

Proposed resolution

Create a setting in the admin form to optionally clean the linkchecker entities of status codes between two values. For example: 0 and 399. Use this with database API to then remove these values on a button click. After doing so, the view no longer needs to filter by status code to only show broken links.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024