Repository navigation
fix: repair dead redirects and the TSD contact links - #375
Merged
Merged
Conversation
Eight redirects still pointed at /news/<year>/<slug> for items that were moved to events in August, so the old addresses ended in a 404. They now go straight to the event pages.
Both links went to elixir.no/contact, which does not exist. They now use the support address the footer and the research support page give.
Nine news pages were moved to events or removed as a duplicate without a redirect, so the addresses they had until August returned a 404. Each now redirects to its event page.
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A sweep of the built site for dead internal links, done while fixing the home page cards in #374, turned up two more groups. Both are fixed here.
Old news addresses that ended in a 404
In August several news items were moved to events (b1898a9, 9693daf, #323). The redirect table was not updated, so the addresses those items used to have stopped working.
/news/<year>/<slug>for ELITMa, AHM Europe, the EOSC-ENTRUST workshop and the data steward event. They now go straight to the event pages. This is the first commit./news/<year>/<slug>pages themselves, which were live until the move. I added a redirect from each to its event page, including the four 2026 items (all hands, Arendalsuka, the GDI hackathon, the Nordic data steward meeting). The duplicate data steward item removed in removing duplicate #323 goes to the one event that remains. This is the third commit, kept separate in case you only want the first.Dead contact links on the TSD page
src/content/services/tsd/index.mdxlinked twice toelixir.no/contact, a page that does not exist. Both now givesupport@elixir.no, the address the footer and the research support page use. The link text is the address itself, so it is clear the link opens an email.How I checked
After
pnpm buildI followed every redirect touched here to its destination indist, and each lands on a real page. Re-running the link sweep over the build shows no dead redirect destinations and no/contactlink left. The sitemap still lists the same 186 pages, so the new redirects do not show up as pages.pnpm test,pnpm test:slugsandpnpm test:pagespass.Not in this PR
The sweep also lists about twenty broken links inside news posts from 2018 to 2022 (paths from the old site, a missing PDF, external links written without
https://) and three posts linking/services/bio-med-data, which lives under funding and projects. Those are editor content, so I left them for a separate pass. CI has no check that would catch any of this, which is what #42 asks for.