Skip to content

redirect tidy - #25115

Merged
aevesdocker merged 4 commits into
docker:mainfrom
aevesdocker:redirect-tidy
May 28, 2026
Merged

aevesdocker merged 4 commits into
docker:mainfrom
aevesdocker:redirect-tidy

Conversation

@aevesdocker

@aevesdocker aevesdocker commented May 20, 2026

Copy link
Copy Markdown
Contributor

Description

As per Craigs number-crunching, this PR removes some vvvvv old and unused redirects 🧹

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@netlify

netlify Bot commented May 20, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 9114aaf
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a0da0b30b1ec500092c9e52
😎 Deploy Preview https://deploy-preview-25115--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/compose Relates to docker-compose.yml spec or docker-compose binary area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/ai labels May 20, 2026

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This PR removes stale alias redirects from front matter across 33 documentation files. All removals appear safe:

  • Legacy Docker-for-Mac/Windows paths (, , , , , , etc.) — superseded by the top-level and aliases still retained in .
  • Linux install intermediate paths (, etc.) — each page retains two remaining aliases covering the same targets.
  • Previous-version release notes — pages have and are de-emphasized; removed paths are outdated versioned release note URLs.
  • Compose intermediate paths (, , etc.) — legacy short URLs with no confirmed internal or external references within the docs corpus.
  • Enterprise desktop paths — for a deprecated product, these removals are appropriate.

No internal documentation links were found using the removed aliases. No broken redirects detected.

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This PR removes stale alias redirects from front matter across 33 documentation files. All removals appear safe:

  • Legacy Docker-for-Mac/Windows paths (/mac/, /win/, /windows/, /mackit/, /winkit/, /docker-for-mac/index/, etc.) — superseded by the top-level /docker-for-mac/ and /docker-for-windows/ aliases still retained in sign-in.md.
  • Linux install intermediate paths (/desktop/linux/install/ubuntu/, etc.) — each page retains two remaining aliases covering the same targets.
  • Previous-version release notes — pages have sitemap: false and are de-emphasized; removed paths are outdated versioned release note URLs.
  • Compose intermediate paths (/compose/env/, /compose/envvars-precedence/, etc.) — legacy short URLs with no confirmed internal or external references within the docs corpus.
  • Enterprise desktop paths — for a deprecated product, these removals are appropriate.

No internal documentation links were found using the removed aliases. No broken redirects detected.

@thaJeztah

Copy link
Copy Markdown
Member

@dvdksn would the work in #25047 allow us to define some list for these that just redirects to the homepage?

My thinking there is that having an explicit "this page no longer exists" (instead of a 404) could reduce some noise, and makes it clear to us that it's intentional that the URL is no longer there.

(In general, I agree that most of these links are probably very old, so less likely to be hit)

@github-actions github-actions Bot added the area/extensions Relates to Docker Extensions label May 20, 2026
@github-actions github-actions Bot added the area/get-started Relates to get started and onboarding docs label May 20, 2026
@dvdksn

dvdksn commented May 20, 2026

Copy link
Copy Markdown
Contributor

@thaJeztah well, there is 410 Gone. Maybe it would be useful to distinguish 404 from 410. But there's some infra gymnastics needed for this I think.

@aevesdocker
aevesdocker marked this pull request as ready for review May 20, 2026 12:32
@aevesdocker
aevesdocker requested a review from dvdksn as a code owner May 20, 2026 12:32
@aevesdocker
aevesdocker requested a review from a team May 20, 2026 12:32
@aevesdocker aevesdocker added the status/review Pull requests that are ready for review label May 20, 2026

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This PR removes stale and unused URL aliases (redirects) from front matter across 77 documentation files. The changes are well-scoped and the PR description notes that these were identified as unused via analytics.

Reviewed: 1 chunk, 1070 diff lines, 77 files

- /desktop/features/dev-environments/set-up/
- /desktop/features/dev-environments/share/
- /desktop/features/dev-environments/dev-cli/
- /desktop/dev-environments/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[LOW] Dev Environments sub-page aliases removed — old deep-links will 404

The parent alias /desktop/features/dev-environments/ is still retained (good), but five aliases pointing to sub-pages and an older canonical path are removed:

  • /desktop/features/dev-environments/create-dev-env/
  • /desktop/features/dev-environments/set-up/
  • /desktop/features/dev-environments/share/
  • /desktop/features/dev-environments/dev-cli/
  • /desktop/dev-environments/ (older canonical path without "features")

Since Dev Environments is retired, organic traffic to these paths should be low and declining. The PR description's "vvvvv old and unused" framing suggests usage analytics were checked, which is reassuring. The /desktop/dev-environments/ path (the shorter pre-"features" URL) is the one most likely to appear in older blog posts or support articles — worth a quick analytics check if not already done.

@aevesdocker
aevesdocker merged commit f0e4e47 into docker:main May 28, 2026
19 checks passed
aevesdocker pushed a commit that referenced this pull request Sep 7, 2026
## Description

`/docker-for-windows/troubleshoot/` currently returns a 404. This
restores
the alias on the Docker Desktop troubleshoot page.

That alias was removed deliberately in #25115 ("redirect tidy"), along
with
seven others on the same page, as old and unused based on traffic
analysis.
I'm proposing to restore one of them because there's a live inbound link
that traffic data wouldn't have shown as a working path:

[VS Code's dev container tips and tricks
page](https://code.visualstudio.com/docs/devcontainers/tips-and-tricks)
links to
`https://docs.docker.com/docker-for-windows/troubleshoot/#volumes`.
Readers following that link land on a 404, which is how #26020 was
reported.

**Scope:** only `/docker-for-windows/troubleshoot/`. The other seven
aliases
removed in #25115 also 404 today, but I didn't find inbound links for
them,
so I left them alone. Happy to restore more if you'd prefer.

**On the anchor:** `#volumes` no longer resolves — that content moved to
the
troubleshoot topics page. The alias lands readers on the troubleshoot
overview, which links through to it. Still better than a 404.

## Related issues or tickets

Fixes #26020

## Reviews

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

Signed-off-by: Sunmin Lee <134378502+sunm2n@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ai area/compose Relates to docker-compose.yml spec or docker-compose binary area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/extensions Relates to Docker Extensions area/get-started Relates to get started and onboarding docs status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants