graphql / graphql/graphql.github.io

New GraphQL.js redirects do not work internally, and some links are broken

Ouverte
#1,957 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
889
Forks
1.5k
Merge moyen
4 j 12 h
PR mergées (30 j)
21

Description

### Description

GraphQL.js webpages are still included in the website, and are still searchable and navigable. However, when you reload the page you are sent to GraphQL-js.org and the webpage doesn't necessarily exist.

### Steps to Reproduce

1. Visit https://graphql.org/
2. Enter "Running an Express GraphQL Server" into the search bar and press the top link
3. Notice that you have been directed to `https://graphql.org/graphql-js/running-an-express-graphql-server/` and a web page is rendered
4. Reload the page (or visit `https://graphql.org/graphql-js/running-an-express-graphql-server/` directly)
5. Notice that you have been redirected to `https://www.graphql-js.org/running-an-express-graphql-server/` and greeted with a 404.

### Expected Result

In step 3 you should be directed to graphql-js.org (or the search result should not appear in the first place?)

If you visit `https://graphql.org/graphql-js/running-an-express-graphql-server/` directly, you should be redirected to an extant page on `graphql-js.org`

### Actual Result

Old content rendered in step 3.

404 rendered in step 5.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Reproduisez la redirection à l’aide de la page d’accueil de graphql.org, du résultat de recherche et de l’URL directe décrits dans l’issue. Suivez le routage du site web et la gestion des recherches pour le chemin /graphql-js/running-an-express-graphql-server/ ; le travail est terminé lorsque l’ancienne page n’est plus servie et que les visites directes aboutissent à une page existante de graphql-js.org.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
search, web-dev
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.