Skip to content

Replace docs.microsoft.com links with learn.microsoft.com to avoid redirect (301) #52538

@kfess

Description

@kfess

This is a Feature Request

What would you like to be added

All docs.microsoft.com links in the English Kubernetes website documentation should be updated to learn.microsoft.com links.
Currently, many links still point to the old docs.microsoft.com domain, but these URLs respond with an HTTP 301 redirect to learn.microsoft.com. Updating the links in the source content will make them future-proof and remove unnecessary redirects.

Why is this needed

docs.microsoft.com has been deprecated and now redirects to learn.microsoft.com.
Keeping outdated links may cause long-term maintenance issues if Microsoft changes their redirect rules.

A quick search shows more than 100 occurrences of docs.microsoft.com in the kubernetes/website repository, so a systematic fix is needed.

Comments

$ curl --head https://docs.microsoft.com/virtualization/windowscontainers/manage-containers/container-security
HTTP/2 301 
server: AkamaiGHost
content-length: 0
location: https://learn.microsoft.com/virtualization/windowscontainers/manage-containers/container-security

Reference search result:
https://cs.k8s.io/?q=docs.microsoft.com&i=nope&literal=nope&files=content%2Fen&excludeFiles=&repos=kubernetes/website

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions