Skip to content

Add a redirect map for removed and renamed pages - #151

Open
DavidLambauer wants to merge 1 commit into
mainfrom
docs/redirects-for-removed-pages
Open

DavidLambauer wants to merge 1 commit into
mainfrom
docs/redirects-for-removed-pages

Conversation

@DavidLambauer

@DavidLambauer DavidLambauer commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

#108 to #112 merge 28 duplicate pages into other pages. The file name of a page is its URL, so those URLs would stop working. This adds redirects.yml, which the website reads to send a request for an old page to the page that covers the topic now. The website side is mage-os/devdocs-website#74.

  • 26 pages get a redirect. Two have no successor and are left out: case-studies-of-problem-solving-in-magento-2 and collection-of-real-world-examples-and-step-by-step-tutorials, which is an empty page.
  • The README says how to add a redirect when a page is renamed or removed.

An entry has no effect while a page with the old name exists, so this can be merged before or after #108 to #112, and before the website change is deployed.

Tested

On a local copy of the website with all open pull requests merged: each of the 26 old URLs answers with a 301 and its target returns 200. With only this change on main, all 28 old pages are still served.

Merge order and notes for reviewers: #115.

🤖 Generated with Claude Code

The file name of a page is its URL on the website, so a page that is
removed or renamed leaves a dead URL behind. redirects.yml lists such
pages with the page that covers the topic now, and the website answers
a request for the old page with a redirect to the new one.

The map starts with the 26 pages that the open content pull requests
merge into other pages. An entry has no effect while a page with the
old name still exists, so the map can be merged before them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant