Add -redirect tags + reorder

This commit is contained in:
The_Grits 2017-07-21 09:51:45 -04:00 committed by GitHub
parent 5fa9c6a05f
commit d936d0d9c4

View file

@ -133,18 +133,6 @@
"view": "guidelines/guidelines", "view": "guidelines/guidelines",
"title": "Scratch Community Guidelines" "title": "Scratch Community Guidelines"
}, },
{
"name": "help",
"pattern": "^/help/?(\\?.*)?$",
"routeAlias": "/help/?(\\?.*)?$",
"redirect": "/tips"
},
{
"name": "hoc",
"pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??",
"redirect": "/tips"
},
{ {
"name": "jobs", "name": "jobs",
"pattern": "^/jobs/?$", "pattern": "^/jobs/?$",
@ -257,12 +245,6 @@
"view": "terms/terms", "view": "terms/terms",
"title": "Scratch Terms of Use" "title": "Scratch Terms of Use"
}, },
{
"name": "things-to-try",
"pattern": "^/go/?(\\?.*)?$",
"routeAlias": "/go/?\\??",
"redirect": "/tips"
},
{ {
"name": "tips", "name": "tips",
"pattern": "^/tips/?(\\?.*)?$", "pattern": "^/tips/?(\\?.*)?$",
@ -301,6 +283,18 @@
"routeAlias": "/explore(?!/ajax)", "routeAlias": "/explore(?!/ajax)",
"redirect": "/explore/studios/all" "redirect": "/explore/studios/all"
}, },
{
"name": "help-redirect",
"pattern": "^/help/?(\\?.*)?$",
"routeAlias": "/help/?(\\?.*)?$",
"redirect": "/tips"
},
{
"name": "hoc-redirect",
"pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??",
"redirect": "/tips"
},
{ {
"name": "info-redirect", "name": "info-redirect",
"pattern": "^/info/?(\\?.*)?$", "pattern": "^/info/?(\\?.*)?$",
@ -323,5 +317,11 @@
"pattern": "^/store/?$", "pattern": "^/store/?$",
"routeAlias": "/store", "routeAlias": "/store",
"redirect": "https://scratch-foundation.myshopify.com" "redirect": "https://scratch-foundation.myshopify.com"
},
{
"name": "things-to-try-redirect",
"pattern": "^/go/?(\\?.*)?$",
"routeAlias": "/go/?\\??",
"redirect": "/tips"
} }
] ]