Redirect removed and renamed pages

Aberta
#72 0 comentários 0 reações 0 responsáveis Ver no GitHub

@DavidLambauer já está trabalhando nisso.

Desde 30/11/2026.

  • #74 de @DavidLambauer — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
php

Direção de pesquisa

Start by reading the website’s routing and response handling, then check how it loads documentation slugs and where the contribution guide lives. Implement a redirect map covering the listed old and new slugs, return a 301 for each version, and document how contributors add redirects. Done when the table is covered and requests for old slugs redirect correctly; pull request #74 is already open, so coordinate with its author before starting.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

The open pull requests mage-os/devdocs#108 to mage-os/devdocs#112 merge and remove duplicate pages. Once they are merged, 28 URLs that exist today return 404, because the website has no way to redirect an old slug. The same gap blocks renaming the eight slugs that still contain magento-2.

Proposal

A redirect map from old slug to new slug, answered with a 301 for every version. It could live in the docs repository next to documentation.md, so that a pull request that removes or renames a page adds its redirect in the same change.

Redirects needed for the open pull requests

Old slug New slug
acl acl_xml
cron_groups cron_groups_xml
cron_jobs_xml crontab_xml
db_schema db_schema_xml
di di_xml
extension_attributes extension_attributes_xml
fieldset fieldset_xml
indexer indexer_xml
menu menu_xml
routes routes_xml
webapi webapi_xml
widget widget_xml
observers events
requirejs javascript-in-magento-2
knockoutjs-integration ui-components
rest-apis-soap-apis rest-apis
soap-apis, web-api, api-reference overview-of-magento-2-apis
how-to-use-and-extend-apis create-a-web-api-endpoint
testing-tools unit-testing
continious-integration-continious-deployment production-deployment
the-magento-application-and-service-contracts service-contracts
the-magento-application, diagrams-to-visually-represent-the-architecture overview-of-the-architectural-components
extension-use-cases developing-extensions-in-magento-2
case-studies-of-problem-solving-in-magento-2, collection-of-real-world-examples-and-step-by-step-tutorials no successor: the docs start page

Done when

  • A request for an old slug is answered with a 301 to the new one.
  • The map covers the table above.
  • The contribution guide in mage-os/devdocs says how to add a redirect.
Linguagem predominante
PHP
Estrelas
3
Forks
11
Merge médio
1d 6h
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de mage-os/devdocs-website

Todas as issues de mage-os/devdocs-website

Issues semelhantes

Mais issues de PHP

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.