Skip to content

fix(hl): don't emit /hyperliquid/<slug> links for builders without history (#978) - #979

Merged
Flotapponnier merged 1 commit into
mainfrom
cherry/hl-dormant-404-main
Jul 8, 2026
Merged

fix(hl): don't emit /hyperliquid/<slug> links for builders without history (#978)#979
Flotapponnier merged 1 commit into
mainfrom
cherry/hl-dormant-404-main

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Cherry-pick of #978. Fixes 14 self-inflicted 404s Ahrefs surfaced.

…story (#978)

Ahrefs surfaced 14 /hyperliquid/<slug> URLs returning 404 on our own
domain (supurr, nautilus-trader, superstack, unigox, slash, liquid8,
aura-money, superx, vibeliquid, blink, xtrade-protocol, kinto,
ranger-finance, topdog). Root cause:

  1. isHlBuilderSlug() returns true whenever the slug appears in
     hyperliquid-frontends.yml providers (spec-level).
  2. /hyperliquid/<slug>/page.tsx notFound()s when the same slug is
     NOT in fetchHlHistory().frontends (12-month rolling blob).
  3. Some builders are in the spec but not in history (dormant, new,
     paused, or just below the history-blob activity threshold).

Two inlink sources produced the 404 chain:

  a) /products/<slug> checked isHlBuilderSlug() before redirecting
     to /hyperliquid/<slug>, sending 12 crawler paths into a 404.
  b) /hyperliquid hub cohort leaderboard rendered a link to
     /hyperliquid/<slug> for every cohort row, even the 2 rows
     (aura-money, nautilus-trader) with no 12m history.

Fixes:

  - New isHlBuilderWithHistory(slug) checks BOTH the spec AND the
    history blob. Wired into products/[slug]/page.tsx replacing the
    older check, so /products/<dormant-builder> now renders the
    normal provider profile instead of redirecting to a 404.
  - hl-cohort-leaderboard swaps <Link> for a plain <span> on rows
    where the history map has no entry. The row still shows all
    KPI data + '—' for the trend column; just no crawl path into
    /hyperliquid/<slug> 404s.

Co-authored-by: Florent Tapponnier <contact@mobula.io>
@Flotapponnier
Flotapponnier merged commit 9b0a12c into main Jul 8, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the cherry/hl-dormant-404-main branch July 17, 2026 14:41
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.

1 participant