-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
buga bug or issuea bug or issueengissues related to site functionality that requires engineeringissues related to site functionality that requires engineering
Milestone
Description
Many, many paths in taxonomy-redirects.json lead to 404s. Out of 1131 lines, 208 return 404s:
Acceptance criteria
For this issue to be resolved, we need:
- We know why these 404s weren't caught by the original 404-catching script, and we've updated the script to catch them in future
- We've also used the script to test all links in nav .yml files
- IDEALLY: We know what went wrong in the redirects migration script so we can see if it happened elsewhere.
- WRITER MAY BE ABLE TO DO THIS: All 404s in taxonomy-redirects.json now resolve to the correct destination
- For a writer to do this, we’ll need to know with confidence how to edit/work with this file and have it work reliably on local.
Example issue
I was not able to find much of a pattern. For example, consider lines 1155 thru 1167:
{
"url": "/https/github.com/docs/integrations/amazon-integrations/",
"paths": [
"/docs/integrations/amazon-integrations/aws-integrations-list",
"/docs/infrastructure/amazon-integrations/aws-integrations-list",
"/docs/kubernetes-integration/amazon-integrations/aws-integrations-list",
"/docs/integrations/new-relic-integrations/cloud-integrations/aws-integrations",
"/docs/infrastructure-integrations/amazon-integrations/aws-integrations-list",
"/docs/infrastructure/amazon-integrations",
"/docs/kubernetes-integration/amazon-integrations",
"/docs/infrastructure-integrations/amazon-integrations"
]
},
Of these, the original url works, the first one under paths works but goes to the wrong place, and the others just 404:
RESOLVES BUT WRONG PLACE: https://docs.newrelic.com/docs/integrations/amazon-integrations/aws-integrations-list
404: https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list
404: https://docs.newrelic.com/docs/kubernetes-integration/amazon-integrations/aws-integrations-list
404: https://docs.newrelic.com/docs/integrations/new-relic-integrations/cloud-integrations/aws-integrations
404: https://docs.newrelic.com/docs/infrastructure-integrations/amazon-integrations/aws-integrations-list
404: https://docs.newrelic.com/docs/infrastructure/amazon-integrations
404: https://docs.newrelic.com/docs/kubernetes-integration/amazon-integrations
404: https://docs.newrelic.com/docs/infrastructure-integrations/amazon-integrations```
Metadata
Metadata
Assignees
Labels
buga bug or issuea bug or issueengissues related to site functionality that requires engineeringissues related to site functionality that requires engineering