Skip to content

Commit aef6ac6

Browse files
authored
Add redirects from old subdomains
1 parent 022c548 commit aef6ac6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_redirects

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
---
22
layout: null
33
---
4+
5+
# Redirect from default Netlify subdomain
6+
https://yarnpkg.netlify.com/* https://classic.yarnpkg.com/:splat 301!
7+
# Redirect from "legacy" subdomain, as we renamed it to "classic".
8+
https://legacy.yarnpkg.com/* https://classic.yarnpkg.com/:splat 301!
9+
410
/:lang/packages/ /lang/:lang/packages 200
511
/:lang/package/* /lang/:lang/package 200
612

0 commit comments

Comments
 (0)