Redirect removed and renamed pages

Đang mở
#72 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@DavidLambauer đang làm issue này rồi.

Từ ngày 30/11/2026.

  • #74 của @DavidLambauer — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
backend, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
PHP
Star
3
Fork
11
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mage-os/devdocs-website

Tất cả issue của mage-os/devdocs-website

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.