Skip to content

Redirect removed and renamed pages #72

In review

Description

@DavidLambauer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions