File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ module.exports = [
4949 "/templates/:template_slug" ,
5050 // -- learn --
5151 "/learn" ,
52- "/learn/tutorials" ,
53- "/learn/tutorials/:tutorial_slug" ,
5452 "/learn/guides" ,
5553 "/learn/guides/:guide_slug" ,
5654 "/learn/courses" ,
Original file line number Diff line number Diff line change @@ -361,6 +361,19 @@ async function redirects() {
361361 "/team/:team_slug/:project_slug/connect/universal-bridge/:path*" ,
362362 permanent : false ,
363363 } ,
364+
365+ // all /learn/tutorials (and sub-routes) -> /learn/guides
366+ {
367+ source : "/learn/tutorials/:path*" ,
368+ destination : "/learn/guides/:path*" ,
369+ permanent : false ,
370+ } ,
371+ {
372+ source : "/learn/tutorials" ,
373+ destination : "/learn/guides" ,
374+ permanent : false ,
375+ } ,
376+
364377 ...legacyDashboardToTeamRedirects ,
365378 ] ;
366379}
You can’t perform that action at this time.
0 commit comments