forked from GoogleChrome/web.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirects.yaml
332 lines (236 loc) · 10.2 KB
/
redirects.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
# Master redirects file for web.dev. This mirrors the old DevSite file.
# There are two types of redirects:
#
# (1) Simple redirects, e.g., "from: /foo"
# - These don't match subpaths, like "/foo/bar"
# - But it will match similar URLs "/foo", "/foo/" and "/foo/index.html"
#
# (2) Group redirects, e.g., "from: /foo/:part", which will match the top-level
# path (with the same rules as (1)) as well as any descendant paths
#
# WARNING! Redirects DO NOT take priority over static content.
# For example, if you try to redirect "/foo" but the site contains a static file
# "/foo/index.html", the static file will always win.
redirects:
# Policies
- source: /policies
destination: https://policies.google.com/
# Newsletter
- source: /subscribe
destination: /newsletter
# Pre-v1 redirects
- source: /fast/using-lighthouse-ci-to-set-a-performance-budget
destination: /fast/using-lighthouse-bot-to-set-a-performance-budget
- source: /fast/defer-unused-css
destination: /fast/defer-non-critical-css
# Pre-v1 codelabs
- source: /reliable/http-cache/codelab-http-cache
destination: /codelab-http-cache
- source: /fast/serve-images-webp/codelab-serve-images-webp
destination: /codelab-serve-images-webp
- source: /fast/remove-unused-code/codelab-remove-unused-code
destination: /codelab-remove-unused-code
- source: /fast/serve-responsive-images/codelab-art-direction
destination: /codelab-art-direction
- source: /fast/serve-responsive-images/codelab-art-direction
destination: /codelab-art-direction
- source: /secure/same-origin-policy/codelab-same-origin-fetch
destination: /codelab-same-origin-fetch
- source: /secure/same-origin-policy/codelab-same-origin-iframe
destination: /codelab-same-origin-iframe
- source: /fast/avoid-invisible-text/codelab-avoid-invisible-text
destination: /codelab-avoid-invisible-text
- source: /fast/preload-critical-assets/codelab-preload-web-fonts
destination: /codelab-preload-web-fonts
- source: /fast/serve-responsive-images/codelab-density-descriptors
destination: /codelab-density-descriptors
- source: /discoverable/fix-http-status-codes/codelab-fix-sneaky-404
destination: /codelab-fix-sneaky-404
- source: /installable/discover-installable/codelab-make-installable
destination: /codelab-make-installable
- source: /fast/use-imagemin-to-compress-images/codelab-imagemin-gulp
destination: /codelab-imagemin-gulp
- source: /fast/use-imagemin-to-compress-images/codelab-imagemin-grunt
destination: /codelab-imagemin-grunt
- source: /fast/preload-critical-assets/codelab-preload-critical-assets
destination: /codelab-preload-critical-assets
- source: /fast/replace-gifs-with-videos/codelab-replace-gifs-with-video
destination: /codelab-replace-gifs-with-video
- source: /fast/use-imagemin-to-compress-images/codelab-imagemin-webpack
destination: /codelab-imagemin-webpack
- source: /reliable/service-workers-cache-storage/codelab-service-workers
destination: /codelab-service-workers
- source: /fast/serve-modern-code-to-modern-browsers/codelab-serve-modern-code
destination: /codelab-serve-modern-code
- source: /fast/serve-responsive-images/codelab-specifying-multiple-slot-widths
destination: /codelab-specifying-multiple-slot-widths
- source: /fast/reduce-javascript-payloads-with-code-splitting/codelab-code-splitting
destination: /codelab-code-splitting
- source: /reliable/identify-resources-via-network-panel/codelab-explore-network-panel
destination: /codelab-explore-network-panel
- source: /fast/reduce-network-payloads-using-text-compression/codelab-text-compression
destination: /codelab-text-compression
- source: /fast/use-lazysizes-to-lazyload-images/codelab-use-lazysizes-to-lazyload-images
destination: /codelab-use-lazysizes-to-lazyload-images
- source: /fast/serve-images-with-correct-dimensions/codelab-serve-images-correct-dimensions
destination: /codelab-serve-images-correct-dimensions
- source: /fast/reduce-network-payloads-using-text-compression/codelab-text-compression-brotli
destination: /codelab-text-compression-brotli
- source: /fast/incorporate-performance-budgets-into-your-build-tools/codelab-setting-performance-budgets-with-webpack
destination: /codelab-setting-performance-budgets-with-webpack
# Redirect all pre-v1 paths to the project root.
# Before: web.dev/fast/remove-unused-code
# After: web.dev/remove-unused-code
- source: /accessible/:part
destination: /:part
- source: /discoverable/:part
destination: /:part
- source: /fast/:part
destination: /:part
- source: /installable/:part
destination: /:part
- source: /reliable/:part
destination: /:part
- source: /secure/:part
destination: /:part
# Some Google search results indexed the page with `en/`, so we'll redirect it for now
- source: /en/:part
destination: /:part
# Redirect duplicative /discoverable URLs to /lighthouse-seo
- source: /write-descriptive-text
destination: /lighthouse-seo
- source: /tell-search-translated-pages-equal
destination: /hreflang
- source: /tell-search-engine-canonical-url
destination: /canonical
- source: /remove-code-blocking-indexing
destination: /is-crawlable
- source: /is-crawable
destination: /is-crawlable
- source: /fix-http-status-codes
destination: /http-status-code
- source: /remove-browser-plugins
destination: /plugins
- source: /fix-robot-errors
destination: /robots-txt
- source: /fix-small-fonts
destination: /font-size
- source: /fix-viewport-tag
destination: /viewport
# Redirect older metrics docs
- source: /layout-instability-api
destination: /cls
- source: /largest-contentful-paint
destination: /lcp
- source: /web-vitals
destination: /vitals
- source: /si
destination: /speed-index
# Redirects Progressive Web App content
- source: /pwa
destination: /progressive-web-apps/
- source: /installable
destination: /progressive-web-apps/#make-it-installable
- source: /discover-installable
destination: /progressive-web-apps/#make-it-installable
- source: /progressive-web-apps/#installable
destination: /progressive-web-apps/#make-it-installable
- source: /push-notifications/
destination: /push-notifications-overview/
# Redirect for spec name changes
- source: /sms-receiver-api-announcement
destination: /web-otp
# Redirect /payments content
- source: /android-payment-apps-overview
destination: /android-payment-app-developers-guide
- source: /payment-request-basic-card-deprecation
destination: https://chromestatus.com/feature/5730051011117056
# Redirect for misconfigured Lighthouse report
- source: /image-size-responsive
destination: /image-aspect-ratio
# Redirect for misconfigured Lighthouse report
# Redirects for Handbook refactors
- source: /handbook/tags
destination: /handbook/yaml-front-matter/#tags
# Redirect to unified clipobard article
- source: /image-support-for-async-clipboard
destination: /async-clipboard
# Redirect for renamed Native File System API
- source: /native-file-system
destination: /file-system-access
- source: /browser-nativefs
destination: /browser-fs-access
# Redirect to follow consistent Fugu API naming scheme
- source: /wakelock
destination: /wake-lock
# Redirects for performance content
- source: /native-lazy-loading
destination: /browser-level-image-lazy-loading
# Redirects for vanity URLs
- source: /scale-on-web
destination: /tags/scale-on-web
# Redirect for the renamed WebTransport API.
- source: /quictransport
destination: /webtransport
# Redirect for consolidated Lighthouse audit for a11y names.
- source: /aria-toggle-field-name
destination: /aria-name
- source: /aria-input-field-name
destination: /aria-name
# Temporary redirect for CORS-RFC1918 guidance on DevTools.
# Remove once the actual article is published.
- source: /cors-rfc1918-guide
destination: /cors-rfc1918-feedback
# Redirect for style guide alignment
- source: /debugging-layout-shifts
destination: /debug-layout-shifts
# Vanity urls for Learn CSS course
- source: /learncss
destination: /learn/css
- source: /learnCSS
destination: /learn/css
# Changes for upcoming video...
- source: /whats-new-web-vitals-2021
destination: /vitals
type: 302
# Redirect for security headers quick reference.
- source: /security-headers-cheat-sheet
destination: /security-headers
# Redirects for Media content
- source: /media-cheat-sheet
destination: /media-conversion
- source: /media-eme-basics
destination: /media-eme
# Redirects to https://developer.chrome.com/.
- source: /browser-flags
destination: https://developer.chrome.com/blog/browser-flags/
- source: /third-party-origin-trials
destination: https://developer.chrome.com/blog/third-party-origin-trials/
- source: /fugu-status
destination: https://developer.chrome.com/blog/fugu-status/
- source: /conversion-measurement
destination: https://developer.chrome.com/docs/privacy-sandbox/attribution-reporting/
- source: /using-conversion-measurement
destination: https://developer.chrome.com/docs/privacy-sandbox/attribution-reporting/
- source: /origin-trials
destination: https://developer.chrome.com/docs/web-platform/origin-trials/
- source: /launch-handler
destination: https://developer.chrome.com/docs/web-platform/launch-handler/
- source: /gpu
destination: https://developer.chrome.com/docs/web-platform/webgpu/
- source: /storage-foundation
destination: https://developer.chrome.com/docs/web-platform/storage-foundation/
- source: /app-history-api
destination: https://developer.chrome.com/docs/web-platform/navigation-api/
# Redirect for Aurora
- source: /aurora
destination: /introducing-aurora
# Design system
- source: /design-system/component/action
destination: /design-system/component/fab
# web.dev LIVE 2020 event
- source: /live
destination: /shows/web-dev-live-day-1
# Redirects old vitals tooling workflow doc to the updated doc
- source: /vitals-tools-workflow
destination: /vitals-tools