Redirect removed and renamed pages
Đá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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mage-os/devdocs-website
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mage-os/devdocs-website#75 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
mage-os/devdocs-website#73 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
mage-os/devdocs-website#71 ·
-
Create FAQs per DocĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
mage-os/devdocs-website#57 · 1 bình luận ·
-
enhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
mage-os/devdocs-website#45 · 1 bình luận ·
Tất cả issue của mage-os/devdocs-website
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quantum-php/project#222 ·
-
support
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
15.0
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
mailcow/mailcow-dockerized#7717 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
mollie/WooCommerce#1346 ·