Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Canonicalize showcase posts to a single public URL

Aperta
#124 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go, javascript

Direzione di ricerca

Start in internal/web/seo.go, seo_status.go, frontend/src/pages/CommunityPage.vue, and the frontend router, using the f371314 reproduction and isolated Badger fixture as the baseline. Test direct requests and SPA navigation for showcase aliases, ordinary and missing threads, and storage failure; done means redirects, metadata, structured data, and sitemap locations agree without changing unrelated routing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug community difficulty: intermediate help wanted needs testing seo

Problem

A showcase post can be indexed under two self-canonical URLs. The sitemap lists only the showcase URL, while the generic community route also returns 200 with its own canonical.

Reproduction

At f371314, create a synthetic thread with SpaceID: "showcase" and ID showcase-example, then request both routes through the frontend handler:

  • /community/thread/showcase-example: 200; canonical points to that generic route.
  • /community/showcase/showcase-example: 200; canonical points to the showcase route.

Both responses have no redirect. The sitemap includes only /community/showcase/showcase-example. This was reproduced with an isolated Badger fixture.

Scope

Use the stored thread space to select one canonical route on both the server and client. Start in internal/web/seo.go, seo_status.go, frontend/src/pages/CommunityPage.vue, and the frontend router.

Acceptance criteria

  • Permanently redirect a valid showcase post's generic community URL to its showcase URL on direct requests.
  • Normalize SPA navigation to the same destination without leaving conflicting metadata.
  • Keep canonical, Open Graph URL, structured-data URL, and sitemap location consistent.
  • Preserve ordinary community and personal-space routing; do not redirect a missing or unrelated thread to a showcase page.
  • Test both aliases, an ordinary thread, a missing thread, and a storage failure.

The composer noindex bug is #70 and collection outage handling is #73; neither fixes this duplicate-detail route.

Audit baseline: f371314.

Lingua principale
Go
Stelle
1
Fork
7
Merge medio
6h 25m
PR unite (30g)
18

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wavefnd/wave-platform

Tutte le issue di wavefnd/wave-platform

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.