Closed
Description
In #1064, I found that some redirects I added weren't working as expected. I'm still not sure why that is yet.
Depending on the reason for it (are we encountering a limit? or is it something more subtle?) we might want to add a scheduled check that:
- at minimum, the URL being redirected gives the redirect code specified
- and, maybe even that the URL being redirected gets redirected to the correct destination
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]Add an automatic check that redirects work[/-][+]Add an automatic check that URL redirects work[/+]StevenMaude commentedon Jan 12, 2023
As a semi-automated process:
displays the URL and status code for each redirect, assuming a 404 catches every issue (which it possibly doesn't).
The better approach would be to compare the status code from the
_redirects
file with that from cURL.Make the redirects work
Make the redirects work
StevenMaude commentedon Jun 6, 2023
This was completed in #1094.
See also #1207, where using a MkDocs plugin for redirects is proposed.