Skip to content

fix: repair dead redirects and the TSD contact links - #375

Merged
yasinmiran merged 3 commits into
mainfrom
fix/dead-links
Nov 20, 2026
Merged

yasinmiran merged 3 commits into
mainfrom
fix/dead-links

Conversation

@yasinmiran

Copy link
Copy Markdown
Collaborator

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.

  • Eight existing redirects still pointed at /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.
  • Nine addresses had no redirect at all: the /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.mdx linked twice to elixir.no/contact, a page that does not exist. Both now give support@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 build I followed every redirect touched here to its destination in dist, and each lands on a real page. Re-running the link sweep over the build shows no dead redirect destinations and no /contact link left. The sitemap still lists the same 186 pages, so the new redirects do not show up as pages. pnpm test, pnpm test:slugs and pnpm test:pages pass.

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.

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.
Copilot AI balanced review requested due to automatic review settings November 20, 2026 14:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@yasinmiran
yasinmiran merged commit 0472ac2 into main Nov 20, 2026
1 check passed
@yasinmiran
yasinmiran deleted the fix/dead-links branch November 20, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants